summaryrefslogtreecommitdiff
path: root/debian/patches/fix_find_fixedlength.patch
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-13 21:26:32 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-13 21:26:32 +0100
commitfef6a04f189f791b9bee9f17797890b12fee495f (patch)
treeceb89d4c513787b48999a7d35105daddde016fb0 /debian/patches/fix_find_fixedlength.patch
parentcba4af1b7643b0da036ff78fd152f74a906c4e97 (diff)
Import debian/ directory from 2:8.38-3.1
Diffstat (limited to 'debian/patches/fix_find_fixedlength.patch')
-rw-r--r--debian/patches/fix_find_fixedlength.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/fix_find_fixedlength.patch b/debian/patches/fix_find_fixedlength.patch
new file mode 100644
index 0000000..84fbb02
--- /dev/null
+++ b/debian/patches/fix_find_fixedlength.patch
@@ -0,0 +1,21 @@
+Description: Fix buffer overflow for forward reference within backward assertion with excess closing parenthesis.
+ Strictly, this is a backport, but the patch is trivial.
+Origin: upstream http://vcs.pcre.org/pcre?view=revision&revision=1571
+Bug: https://bugs.exim.org/show_bug.cgi?id=1651
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790000
+Last-Update: 2015-06-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: b/pcre_compile.c
+===================================================================
+--- a/pcre_compile.c 2015-05-26 08:24:55.000000000 +0100
++++ b/pcre_compile.c 2015-06-26 08:00:13.000000000 +0100
+@@ -9265,7 +9265,7 @@
+ exceptional ones forgo this. We scan the pattern to check that they are fixed
+ length, and set their lengths. */
+
+-if (cd->check_lookbehind)
++if (errorcode == 0 && cd->check_lookbehind)
+ {
+ pcre_uchar *cc = (pcre_uchar *)codestart;
+