gzip/gzip-1.3.5-cve-2006-4337_len.patch
2012-06-20 15:55:56 +02:00

12 lines
282 B
Diff

--- 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];
}
}