Check input buffer size in zisofs
authorLinus Torvalds <torvalds@g5.osdl.org>
Sat, 6 Aug 2005 16:42:06 +0000 (09:42 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 6 Aug 2005 16:42:06 +0000 (09:42 -0700)
commitfab5a60a29f98f17256a4183e34a414f6db67569
treeeff86901dda863299501c6e729a2d621f607314f
parent243393c90f2b7cb781fd794e22786e9c8547901a
Check input buffer size in zisofs

This uses the new deflateBound() thing to sanity-check the input to the
zlib decompressor before we even bother to start reading in the blocks.

Problem noted by Tim Yamin <plasmaroo@gentoo.org>
fs/isofs/compress.c