Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
squashfs: fix inode lookup sanity checks
When mouting a squashfs image created without inode compression it fails with: "unable to read inode lookup table" It turns out that the BLOCK_OFFSET is missing when checking the SQUASHFS_METADATA_SIZE agaist the actual size. Link: https://lkml.kernel.org/r/[email protected] Fixes: eabac19 ("squashfs: add more sanity checks in inode lookup") Signed-off-by: Sean Nyekjaer <[email protected]> Acked-by: Phillip Lougher <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information