components/pcre/patches/pcre_compile.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 26 Nov 2013 13:57:44 -0800
branchs11u1-sru
changeset 2833 7c462f1b96b8
parent 744 6df1d115f82e
permissions -rw-r--r--
17827024 Upgrade Wireshark to version 1.8.11 (for 11.1SRU) 17731750 problem in UTILITY/WIRESHARK 17240842 tshark and wireshark-comon have optional depend on nonexistant pkg

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 */