pcre: rename patches to new convention
PATCH 1/2 pcre: rename patches to new convention
Signed-off-by Baruch Siach <[email protected]>
---
package/pcre/{pcre-01-no-compat.patch => 0001-no-compat.patch} | 0
package/pcre/{pcre-02-no-cpp-tests.patch => 0002-no-cpp-tests.patch} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename package/pcre/{pcre-01-no-compat.patch => 0001-no-compat.patch} (100%)
rename package/pcre/{pcre-02-no-cpp-tests.patch => 0002-no-cpp-tests.patch} (100%)package/pcre/0001-no-compat.patch renamed from package/pcre/pcre-01-no-compat.patch +0 -0
package/pcre/0002-no-cpp-tests.patch renamed from package/pcre/pcre-02-no-cpp-tests.patch +0 -0
Signature · 1 line
2.1.3
PATCH 2/2 pcre: add a patch fixing CVE-2014-8964
Patch taken from the Debian package.
Signed-off-by Baruch Siach <[email protected]>
--- package/pcre/0003-fix-CVE-2014-8964.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/pcre/0003-fix-CVE-2014-8964.patch
package/pcre/0003-fix-CVE-2014-8964.patch new file +25 -0
@@ -0,0 +1,25 @@ +Description: CVE-2014-8964, heap buffer overflow + Heap buffer overflow if an assertion with a zero minimum repeat is used as + the condition in a conditional group. +Origin: upstream http://bugs.exim.org/show_bug.cgi?id=1546 +Bug: http://bugs.exim.org/show_bug.cgi?id=1546 +Applied-Upstream: Yes, after 8.36 + +Signed-off-by: Baruch Siach <[email protected]> +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/pcre_exec.c ++++ b/pcre_exec.c +@@ -1404,8 +1404,11 @@ + condition = TRUE; + + /* Advance ecode past the assertion to the start of the first branch, +- but adjust it so that the general choosing code below works. */ ++ but adjust it so that the general choosing code below works. If the ++ assertion has a quantifier that allows zero repeats we must skip over ++ the BRAZERO. This is a lunatic thing to do, but somebody did! */ + ++ if (*ecode == OP_BRAZERO) ecode++; + ecode += GET(ecode, 1); + while (*ecode == OP_ALT) ecode += GET(ecode, 1); + ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode];
Signature · 1 line
2.1.3
PATCH 1/2 pcre: rename patches to new convention
In reply to Baruch SiachQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Signed-off-by Baruch Siach <[email protected]>
Committed both, thanks.
Signature · 1 line
Bye, Peter Korsgaard