mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
Can not read zip header if it ends to far from the end of file #321
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dds72 on GitHub (Sep 7, 2018).
We need to support old archives with much of trailing zeros in the end.
Changing MAX_ITERATIONS_FOR_DIRECTORY_HEADER in SeekableZipHeaderFactory to higher value did the trick.
Other zip libraries can read this header properly, but this library is the one which has both net45 and netstandard2.0 targets and read zip files protected with password.
Why it have so low value?
Can it be increased?