b6f7f605fe
Fixes issues with files being truncated when their headers have values that represent smaller uncompressed sizes then the actual data. This generally fixes issues where the whatever program zipped the file fucked up the headers. The fix makes ssziparchive behave like other unzip utilities that ignore the header and decompress the actual data until it's finished. I've tested a bunch and all of the tests included pass, if any other issues arrive I'd be glad to take additional time to look into it. Includes a file, IncorrectHeaders.zip, that is a zip of a folder called IncorrectHeaders which includes a single file, Readme.txt. I've intentionally changed the header for that file to read 50 bytes intend of the actual 59 for testing purposes.
967 B
967 B