projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc80a82
)
Remove superfluous check again
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jan 2016 18:54:16 +0000
(18:54 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jan 2016 18:54:16 +0000
(18:54 +0000)
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
patch
|
blob
|
history
diff --git
a/pcre/pcre.c
b/pcre/pcre.c
index
1e602df
..
38d0113
100644
(file)
--- 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. */