]> git.pld-linux.org Git - packages/crossmingw32-zlib.git/commitdiff
- CAN-2004-0797 fix (from OpenPKG) auto/ac/zlib-1_2_1_1-2 auto/ac/zlib-1_2_2-1 auto/th/zlib-1_2_1_1-3
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Aug 2004 18:14:10 +0000 (18:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zlib-infsec.patch -> 1.1

zlib-infsec.patch [new file with mode: 0644]

diff --git a/zlib-infsec.patch b/zlib-infsec.patch
new file mode 100644 (file)
index 0000000..6f66759
--- /dev/null
@@ -0,0 +1,26 @@
+Security Bugfixes (CAN-2004-0797, OpenPKG-SA-2004.038-zlib):
+
+--- zlib-1.2.1/infback.c.orig  2003-08-12 01:48:06 +0200
++++ zlib-1.2.1/infback.c       2004-08-25 12:37:07 +0200
+@@ -434,6 +434,9 @@
+                 }
+             }
++            if (state->mode == BAD)
++                break;
++
+             /* build code tables */
+             state->next = state->codes;
+             state->lencode = (code const FAR *)(state->next);
+--- zlib-1.2.1/inflate.c.orig  2003-10-26 07:15:36 +0100
++++ zlib-1.2.1/inflate.c       2004-08-25 12:37:07 +0200
+@@ -861,6 +861,9 @@
+                 }
+             }
++            if (state->mode == BAD)
++                break;
++
+             /* build code tables */
+             state->next = state->codes;
+             state->lencode = (code const FAR *)(state->next);
This page took 0.105692 seconds and 4 git commands to generate.