components/pcre/patches/pcre_compile.patch
author Edwin Beasant <Edwin.Beasant@oracle.com>
Wed, 27 Mar 2013 18:02:48 +0000
changeset 1230 51caab77ce23
parent 744 6df1d115f82e
permissions -rw-r--r--
PSARC/2012/123 Replace slocate(1) with mlocate(1) 15803513 SUNBT7183731 mlocate should be added to the Userland consolidation

diff -ru pcre-8.21.orig//pcre_compile.c pcre-8.21/pcre_compile.c
--- pcre-8.21.orig//pcre_compile.c	Wed Dec  7 08:45:36 2011
+++ pcre-8.21/pcre_compile.c	Mon Mar 19 15:11:42 2012
@@ -1655,7 +1655,8 @@
     case OP_ASSERTBACK:
     case OP_ASSERTBACK_NOT:
     do cc += GET(cc, 1); while (*cc == OP_ALT);
-    /* Fall through */
+    cc += _pcre_OP_lengths[*cc];
+    break;
 
     /* Skip over things that don't match chars */