SevenZipReader (and maybe others) do not iterate entries as contiguous streams. #774

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

Originally created by @adamhathcock on GitHub (Jan 27, 2026).

Originally assigned to: @adamhathcock, @Copilot on GitHub.

SevenZip (and SOLIID Rars) are one or more streams of compressed entries. Instead of Header then Compressed data, a single compressed stream has header then data inside it.

At some point after 0.41.0, this was broken for SevenZip. This needs to be fixed.

Use the parent issue (https://github.com/adamhathcock/sharpcompress/issue/1105) as information about the problem.

Tests should be made to ensure this situation doesn't happen again.

Originally created by @adamhathcock on GitHub (Jan 27, 2026). Originally assigned to: @adamhathcock, @Copilot on GitHub. SevenZip (and SOLIID Rars) are one or more streams of compressed entries. Instead of Header then Compressed data, a single compressed stream has header then data inside it. At some point after 0.41.0, this was broken for SevenZip. This needs to be fixed. Use the parent issue (https://github.com/adamhathcock/sharpcompress/issue/1105) as information about the problem. Tests should be made to ensure this situation doesn't happen again.
claunia added the bug label 2026-01-29 22:17:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#774