commit | 118e1ef6fabfc023126e6075f6ac0fc729cb5285 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@lougher.demon.co.uk> | Thu Mar 05 00:31:12 2009 +0000 |
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | Thu Mar 05 00:31:12 2009 +0000 |
tree | 3c497ad9fcc5a459de9d75a688bb78c5220e8dd5 | |
parent | 2450cf51a1bdba7037e91b1bcc494b01c58aaf66 [diff] |
Squashfs: Fix oops when reading fsfuzzer corrupted filesystems This fixes a code regression caused by the recent mainlining changes. The recent code changes call zlib_inflate repeatedly, decompressing into separate 4K buffers, this code didn't check for the possibility that zlib_inflate might ask for too many buffers when decompressing corrupted data. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>