You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
More specifically, this xz file decodes fine via the reference implementation but fails to decode with lzma-rs: reference_succeeded_lzmars_failed.xz.gz (gzipped so that github would accept the upload)
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: