Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of support for LZ4 compression #1

Closed
qkaiser opened this issue Feb 23, 2022 · 1 comment
Closed

Lack of support for LZ4 compression #1

qkaiser opened this issue Feb 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@qkaiser
Copy link
Contributor

qkaiser commented Feb 23, 2022

Came upon this sample during testing:

file f119d0e499e8350d6aa2c1ee0842f9fa5c2b4aee.squashfs.v4.lz4
Squashfs filesystem, little endian, version 4.0, lz4 compressed, 30152011 bytes, 1343 inodes, blocksize: 131072 bytes, created: Thu Apr 26 09:23:33 2018

sasquatch does not seem to be supporting LZ4 at this time:

sasquatch f119d0e499e8350d6aa2c1ee0842f9fa5c2b4aee.squashfs.v4.lz4
SquashFS version [4.0] / inode count [1343] suggests a SquashFS image of the same endianess
Filesystem uses lz4 compression, this is unsupported by this version
Trying to decompress with lzma...
Trying to decompress with lzma-adaptive...
Trying to decompress with lzma-alt...
Trying to decompress with lzma-ddwrt...
Trying to decompress with lzo...
Trying to decompress with xz...
read_block: failed to read block @0x1cc1524
FATAL ERROR - Failed to read xattr id table block 0, from 0x1cc1524, length 0.  File system corrupted?

Would be nice to add support for it :) I can send the sample to anyone who asks.

@qkaiser qkaiser added the enhancement New feature or request label Feb 23, 2022
@martonilles
Copy link
Contributor

Fixed in db9da1c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants