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

12 lines
247 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
@@ -199,7 +199,7 @@
}
*p = ch;
}
- start[len] = nextcode;
+ start[len] = start[len] + weight[len];
}
}