]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - gzip/patches/gzip-1.3.5-cve-2006-4337_len.patch
gzip: Update to 1.5.
[people/amarx/ipfire-3.x.git] / gzip / patches / gzip-1.3.5-cve-2006-4337_len.patch
diff --git a/gzip/patches/gzip-1.3.5-cve-2006-4337_len.patch b/gzip/patches/gzip-1.3.5-cve-2006-4337_len.patch
new file mode 100644 (file)
index 0000000..29fe598
--- /dev/null
@@ -0,0 +1,11 @@
+--- gzip-1.3.5/unlzh.c.len     2006-11-22 09:35:10.000000000 +0100
++++ gzip-1.3.5/unlzh.c 2006-11-22 09:38:52.000000000 +0100
+@@ -189,7 +189,7 @@
+             }
+             *p = ch;
+         }
+-        start[len] = nextcode;
++        start[len] = start[len] + weight[len];
+     }
+ }