]> git.pld-linux.org Git - packages/pcre.git/commitdiff
- fix for CVE-2008-2371
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 5 Jul 2008 22:33:25 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pcre-buffer-overflow.patch -> 1.1

pcre-buffer-overflow.patch [new file with mode: 0644]

diff --git a/pcre-buffer-overflow.patch b/pcre-buffer-overflow.patch
new file mode 100644 (file)
index 0000000..a27987f
--- /dev/null
@@ -0,0 +1,16 @@
+diff -NrU5 pcre-7.7.orig/pcre_compile.c pcre-7.7/pcre_compile.c
+--- pcre-7.7.orig/pcre_compile.c       2008-06-18 17:08:49.000000000 +0200
++++ pcre-7.7/pcre_compile.c    2008-06-18 17:11:04.000000000 +0200
+@@ -4929,11 +4929,11 @@
+           {
+           if (code == cd->start_code + 1 + LINK_SIZE &&
+                (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
+             {
+             cd->external_options = newoptions;
+-            options = newoptions;
++            options = *optionsptr = newoptions;
+             }
+          else
+             {
+             if ((options & PCRE_IMS) != (newoptions & PCRE_IMS))
+               {
This page took 0.054995 seconds and 4 git commands to generate.