Merge branch 'staging' into closure-size

This commit is contained in:
Vladimír Čunát 2016-04-10 09:33:25 +02:00
commit 50fccad582
2 changed files with 21 additions and 2 deletions

View File

@ -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++)

View File

@ -21,8 +21,9 @@ in stdenv.mkDerivation rec {
sha256 = "1pvra19ljkr5ky35y2iywjnsckrs9ch2anrf5b0dc91hw8v2vq5r";
};
patches =
[ ];
patches = [
./CVE-2016-1283.patch
];
outputs = [ "dev" "out" "bin" "doc" "man" ];