gzip/gzip-1.3.5-cve-2006-4337_len.patch

12 lines
282 B
Diff
Raw Normal View History

2006-11-22 08:51:50 +00:00
--- 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
2012-06-20 13:55:56 +00:00
@@ -189,7 +189,7 @@
}
*p = ch;
}
- start[len] = nextcode;
+ start[len] = start[len] + weight[len];
2006-11-22 08:51:50 +00:00
}
}