Skip to content
Commit 118e1ef6 authored by Phillip Lougher's avatar Phillip Lougher
Browse files

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: default avatarPhillip Lougher <phillip@lougher.demon.co.uk>
parent 2450cf51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment