Thread (5 messages) 5 messages, 4 authors, 2009-01-21

Re: [Patch] NULL pointer deref with corrupted squashfs image

From: Phillip Lougher <hidden>
Date: 2009-01-21 12:30:32
Also in: linux-fsdevel

Eric Sesterhenn wrote:
Some callers of zlib_inflate() might accidentally pass a NULL
pointer in strm->next_out which zlib_inflate() should catch.
Others like the powerpc gunzip_partial expect to be able
to extract a zImage to memory location 0. This introduces
zlib_inflate_usafe() for those and adds a check for the rest


+    These two wrappers decide wheter strm->next_out gets checked for NULL.
"wheter" -> "whether"

Apart from that looks OK to me.

Phillip
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help