[PR #786] LZMA EOS marker detection #1231

Open
opened 2026-01-29 22:19:34 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/786

State: closed
Merged: Yes


The DataError in #774 comes from the LZMA stream having EOS bytes at the end, we would need to check if the stream has it or not before raising DataError.

Added a test archive generated from 7za with the -meos flag set.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/786 **State:** closed **Merged:** Yes --- The DataError in #774 comes from the LZMA stream having EOS bytes at the end, we would need to check if the stream has it or not before raising DataError. Added a test archive generated from 7za with the -meos flag set.
claunia added the pull-request label 2026-01-29 22:19:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1231