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

squashfs: fix potential buffer over-run on 4K block file systems



Sizing the buffer based on block size is incorrect, leading
to a potential buffer over-run on 4K block size file systems
(because the metadata block size is always 8K).  This bug
doesn't seem have triggered because 4K block size file systems
are not default, and also because metadata blocks after
compression tend to be less than 4K.

Signed-off-by: default avatarPhillip Lougher <phillip@lougher.demon.co.uk>
parent 370ec3d1
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