Index: Makefile =================================================================== --- Makefile (revision 390877) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= pcre PORTVERSION= 8.37 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/${PORTNAME}/ \ Index: files/patch-buffer-overflow =================================================================== --- files/patch-buffer-overflow (revision 390877) +++ files/patch-buffer-overflow (working copy) @@ -294,3 +294,12 @@ /* For caseless UTF-8 mode when UCP support is available, check whether this character has more than one other case. If so, generate a special +@@ -9380,7 +9419,7 @@ OP_RECURSE that are not fixed length get + exceptional ones forgo this. We scan the pattern to check that they are fixed + length, and set their lengths. */ + +-if (cd->check_lookbehind) ++if (errorcode == 0 && cd->check_lookbehind) + { + pcre_uchar *cc = (pcre_uchar *)codestart; +