From 7561fe12f24fdb42375f78ba965e952c3841fbeb Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 17 Jan 2016 18:54:16 +0000 Subject: [PATCH] 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. --- pcre/pcre.c | 5 ----- 1 file changed, 5 deletions(-) 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. */ -- 2.39.2