Squashfs: add missing check in zlib_wrapper
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Wed, 5 Jan 2011 18:02:37 +0000 (18:02 +0000)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Thu, 13 Jan 2011 21:21:00 +0000 (21:21 +0000)
commite7ee11f0ecd587caed0063c5f68ca20fef699f32
tree34a4075c1c42b6aa192a323a72f7c0c24a37caef
parent170cf02165272dfe026eba183563bad973ca4f05
Squashfs: add missing check in zlib_wrapper

On file system corruption zlib can return Z_STREAM_OK with
input buffers remaining, which will not be released.

Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
fs/squashfs/zlib_wrapper.c