summaryrefslogtreecommitdiffstats
path: root/abs/core/pcre/01-CVE-2016-1283.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-05-03 17:40:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-05-03 17:40:33 (GMT)
commitcd326609c3879a2eb673ae47cac4aac263258c11 (patch)
treede9a91cd5389eb6bb786616d455b522dbb3c0038 /abs/core/pcre/01-CVE-2016-1283.patch
parent610ef516c13900549cc31c03400a1a9a9533aeb9 (diff)
downloadlinhes_pkgbuild-cd326609c3879a2eb673ae47cac4aac263258c11.zip
linhes_pkgbuild-cd326609c3879a2eb673ae47cac4aac263258c11.tar.gz
linhes_pkgbuild-cd326609c3879a2eb673ae47cac4aac263258c11.tar.bz2
pcre: update to 8.38
Diffstat (limited to 'abs/core/pcre/01-CVE-2016-1283.patch')
-rw-r--r--abs/core/pcre/01-CVE-2016-1283.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/pcre/01-CVE-2016-1283.patch b/abs/core/pcre/01-CVE-2016-1283.patch
new file mode 100644
index 0000000..2c2dad2
--- /dev/null
+++ b/abs/core/pcre/01-CVE-2016-1283.patch
@@ -0,0 +1,18 @@
+Index: pcre_compile.c
+===================================================================
+--- a/pcre_compile.c (revision 1635)
++++ b/pcre_compile.c (revision 1636)
+@@ -7311,7 +7311,12 @@
+ so far in order to get the number. If the name is not found, leave
+ the value of recno as 0 for a forward reference. */
+
+- else
++ /* This patch (removing "else") fixes a problem when a reference is
++ to multiple identically named nested groups from within the nest.
++ Once again, it is not the "proper" fix, and it results in an
++ over-allocation of memory. */
++
++ /* else */
+ {
+ ng = cd->named_groups;
+ for (i = 0; i < cd->names_found; i++, ng++)