Re: Warning and BUG with btrfs and corrupted image

2009-01-23 Thread Eric Sesterhenn
* Phillip Lougher (phil.loug...@gmail.com) wrote: > On Tue, Jan 20, 2009 at 4:51 PM, Eric Sesterhenn wrote: > > > I already tested squashfs. One issue is basically a problem with > > the zlib-api for which i just posted a patch here > > http://marc.info/?t=12321280733

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

2009-01-21 Thread Eric Sesterhenn
* Tom Rini (tr...@kernel.crashing.org) wrote: > On Tue, Jan 20, 2009 at 05:47:14PM +0100, Eric Sesterhenn wrote: > > * Jörn Engel (jo...@logfs.org) wrote: > > > On Fri, 16 January 2009 16:07:00 -0700, Tom Rini wrote: > > > > > > > > Sounds like a plan to

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

2009-01-20 Thread Eric Sesterhenn
nzip_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 Signed-off-by: Eric Sesterhenn --- linux/arch/powerpc/boot/gunzip_util.c.orig 2009-01-20 10:23:11.0 +0100 +++ linux/arch/powerpc/boot/gun