diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-04-14 11:45:57 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2017-04-14 11:45:57 +0000 |
commit | 5a5ccb1bd732e37e008781696ed72a3aea7675dd (patch) | |
tree | 13a68e924f7db40a1ae48ce9e3a869642653f60a | |
parent | fdeaf6bac74080701b23680f14194eee9efd2d59 (diff) | |
download | pcre-5a5ccb1bd732e37e008781696ed72a3aea7675dd.tar.gz |
Remove redundant line of code.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1696 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pcre_compile.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -40,6 +40,8 @@ encountered a character class with a possessive repeat, for example [a-f]{3}+. 9. When pcretest called pcre_copy_substring() in 32-bit mode, it set the buffer length incorrectly, which could result in buffer overflow. +10. Remove redundant line of code (accidentally left in ages ago). + Version 8.40 11-January-2017 ---------------------------- diff --git a/pcre_compile.c b/pcre_compile.c index c787813..85df41a 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -8225,7 +8225,6 @@ for (;; ptr++) if (mclength == 1 || req_caseopt == 0) { - firstchar = mcbuffer[0] | req_caseopt; firstchar = mcbuffer[0]; firstcharflags = req_caseopt; |