Files
sharpcompress/tests/SharpCompress.Test/Zip
Pat Hartl c59aa78928 Zip: fix Zip64 streaming reader corrupting entry size/CRC and failing on non-seekable streams
The Zip64 branch of the streaming header reader assumed a data descriptor always follows a >=4GB entry. When the entry instead has back-patched sizes (no descriptor), the following header was parsed as descriptor fields, overwriting the entry's correct size/CRC with central-directory 0xFFFFFFFF sentinels and, on non-seekable async streams, leaving the reader misaligned so the next entry threw.

Now it detects a header signature after the entry data and leaves the already-correct metadata untouched, parsing that header normally. The fix has been applied to both the sync and async readers.
2026-06-29 21:35:55 -05:00
..
2026-04-21 10:55:59 +01:00
2026-02-06 15:16:45 +00:00
2026-05-26 15:06:17 +01:00
2026-06-19 11:21:39 +01:00
2026-04-21 10:55:59 +01:00
2026-01-08 12:35:12 +00:00
2026-01-15 11:41:30 +00:00