adamhathcock/sharpcompress

ReaderFactory not iterating over big entries

jbrockerville opened this issue · 2 comments

I've encountered an issue with the ReaderFactory and ZIP archives with "big" entries. If an archive has a sufficiently big enough entry, the reader fails to iterate over all the entries. No error. Just no next entry and drops out of the loop. The ArchiveFactory seems fine. Please see the attached code for generating the archive ("data/data.py") and reproducing the bug. Here is the output I get:

Entries via ReaderFactory...
  bin1.bin
Entries via ArchiveFactory...
  bin1.bin
  a.txt
  c.txt

BigArchive.zip

Maybe #799 will address

Latest SharpCompress code produces identical results for ReaderFactory and ArchiveFactory, so it appears this can be closed out.