Files
sharpcompress/tests/SharpCompress.Test
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-04 09:25:48 +00:00
2026-04-21 10:55:59 +01:00
2025-10-13 10:40:43 +01:00
2026-06-15 17:02:31 +01:00
2026-04-21 10:55:59 +01:00
2026-04-29 11:50:51 +01:00
2026-06-15 09:29:50 +01:00
2026-05-05 17:48:39 +01:00
2026-06-15 09:29:50 +01:00
2026-06-13 15:09:13 +01:00
2026-05-29 15:11:39 +01:00
2026-06-15 09:59:48 +01:00
2026-01-08 12:35:12 +00:00
2026-04-30 13:07:34 +01:00
2026-04-21 11:04:14 +01:00
2024-04-23 09:16:05 +01:00
2026-06-15 09:17:05 +01:00
2026-06-02 09:13:00 +01:00
2026-04-21 11:04:14 +01:00
2026-04-23 11:43:10 +01:00
2026-04-27 17:17:31 +01:00
2025-01-15 04:43:16 +03:00
2026-05-14 08:26:02 +01:00
2026-05-14 08:26:02 +01:00
2026-04-23 11:19:09 +01:00
2026-04-21 10:55:59 +01:00
2026-01-16 08:58:26 +00:00