-
Notifications
You must be signed in to change notification settings - Fork 27
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
Behavior mismatches between liblzma and lzma-rs #35
Comments
More specifically, this xz file decodes fine via the reference implementation but fails to decode with lzma-rs: I've built a quick'n'dirty fuzz harness for the lzma level, bypassing xz, and it seems there are mismatches there as well. However, a superficial test on xz files did not find any cases when both decoders succeed, but produce different outputs. |
The attached files behave differently when decompressed with lzma-rs and with xz2 crate backed by lzma-sys: lzmars_xz2_mismatches.tar.gz
These files are generated by a fuzzer and do not have valid checksums in them. Checksum verification needs to be disabled in both implementations to reproduce the issue.
Found via #34
The text was updated successfully, but these errors were encountered: