]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pcre: blacklist 8.35 for JIT use (issue #1693)
authorVictor Julien <victor@inliniac.net>
Tue, 23 Feb 2016 08:26:56 +0000 (09:26 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 23 Feb 2016 08:41:25 +0000 (09:41 +0100)
configure.ac

index ae085d87d20acbd733318af18ce1b929757c1175..662342245f66df7a33d4ca8a6849c3db28864f9f 100644 (file)
     PKG_CHECK_MODULES(LIBPCREVERSION, [libpcre = 8.35],[libpcre_buggy_found="yes"],[libprce_buggy_found="no"])
     if test "$libpcre_buggy_found" = "yes"; then
         echo
-        echo "   Warning! libpcre version 8.35 found"
+        echo "   Warning! vulnerable libpcre version 8.35 found"
         echo "   This version has a known issue that could result in segfaults"
         echo "   please upgrade to a newer version of pcre which you can get from"
-        echo "   www.pcre.org."
-        echo "   Continuing for now...."
+        echo "   www.pcre.org. For more information, see issue #1693"
+        echo
+        echo "   Continuing for now with JIT disabled..."
         echo
     fi
 
         [ pcre_jit_available=yes ], [ pcre_jit_available=no ]
         )
 
+    # bug 1693, libpcre 8.35 is broken and debian jessie is still using that
+    if test "$libpcre_buggy_found" = "yes"; then
+        pcre_jit_available="no, libpcre 8.35 blacklisted"
+    fi
+
     if test "x$pcre_jit_available" = "xyes"; then
        AC_MSG_RESULT(yes)
        AC_DEFINE([PCRE_HAVE_JIT], [1], [Pcre with JIT compiler support enabled])