summaryrefslogtreecommitdiff
path: root/debian/patches/fix_find_fixedlength.patch
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2015-11-02 17:51:13 +0000
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2015-11-02 17:51:13 +0000
commit98c3e224a46705936ea39a3830e50299f2ce3c73 (patch)
treee1245867d3733b5deaf4e41a88a080c3a0b4f59e /debian/patches/fix_find_fixedlength.patch
pcre3 (2:8.35-7.4) unstable; urgency=medium
* Non-maintainer upload. * Fix copy-and-paste error in Disable_JIT_on_sparc64.patch. # imported from the archive
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;
+