OSDN Git Service

The gzip description is as good as the ChangeLog says it is -: "Set n to
authorTim Yamin <plasmaroo@gentoo.org>
Tue, 26 Jul 2005 11:15:54 +0000 (12:15 +0100)
committerMarcelo Tosatti <marcelo@dmt.cnet>
Tue, 26 Jul 2005 15:47:36 +0000 (12:47 -0300)
commitcd28e52cc3631e2a336a7bbaa9d01e8478eb759c
tree22fa7055bb56c071d0ed242d8122b9429a418a6f
parentcc54d1333e409f714aa9c7db63f7f9ed07cc57a9
The gzip description is as good as the ChangeLog says it is -: "Set n to
length of v, to detect improper tables" and "Don't accidentally grow j
past z". The return 2 instead of the return 0 is so that we actually
error out if we also get inproper tables (for some reason the code
returned "OK" in such cases).

Fix outstanding security bugs in the Linux zlib implementations. See:

a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html
b) http://bugs.gentoo.org/show_bug.cgi?id=94584

Signed-off-by: Tim Yamin <plasmaroo@gentoo.org>
Signed-off-by: Tavis Ormandy <taviso@gentoo.org>
arch/ppc/boot/lib/zlib.c
arch/ppc64/boot/zlib.c
lib/inflate.c
lib/zlib_inflate/inftrees.c