diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch')
-rw-r--r-- | abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch b/abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch new file mode 100644 index 0000000..a27987f --- /dev/null +++ b/abs/core-testing/pcre/libpcre-7.7-buffer-overflow.patch @@ -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)) + { |