From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 17 Jan 2016 18:54:16 +0000 (+0000)
Subject: Remove superfluous check again
X-Git-Tag: v_3_0_24~13
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/static/faq/diff?a=commitdiff_plain;h=7561fe12f24fdb42375f78ba965e952c3841fbeb;p=privoxy.git

Remove superfluous check again

As pointed out by Lee, it still caused a compiler warning
on Windows and AddressSanitizer seems to confirm that it's
not actually required to fix the crashes.
---

diff --git a/pcre/pcre.c b/pcre/pcre.c
index 1e602df4..38d0113b 100644
--- a/pcre/pcre.c
+++ b/pcre/pcre.c
@@ -3018,11 +3018,6 @@ while ((c = *(++ptr)) != 0)
         *errorptr = "internal error";
         goto PCRE_ERROR_RETURN;
         }
-      if ((int)ptr[1] >= tables_length - ctypes_offset)
-        {
-        *errorptr = ERR6;
-        goto PCRE_ERROR_RETURN;
-        }
       }
 
     /* This "while" is the end of the "do" above. */