Commit Graph

12 Commits

Author SHA1 Message Date
Alessandro Segala
9070c825f8 Fixed two warnings 2012-05-09 16:35:09 +02:00
Julius Parishy
b6f7f605fe Fix for Issue #16
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.
2012-05-08 22:55:30 -04:00
Sam Soffes
f7e9630fd0 Fix support for unzipping with password. Fixes #13 2012-05-07 23:41:24 -07:00
Sam Soffes
db61203752 Upgrade to minizip 1.1
* Support zip files larger than 2GB. Fixes #7
* Updated readme
* Added (commented out) test for large files
2011-10-31 17:08:41 -07:00
John Engelhart
f24f550eb7 More source tidies. Remove actual or potential local variable symbol shadows, plus a few other non-functionality impacting changes. 2011-07-21 21:52:14 -07:00
Sam Soffes
54449c4c9e Updated to minizip 1.0h (with minor modifications to avoid warnings and analyzer issues) 2011-06-22 10:37:46 -07:00
Sam Soffes
76e8bf5e0b Fixed analyzer issue 2011-06-21 10:46:27 -07:00
Sam Soffes
9b2b20431c Fixed warnings 2011-05-31 21:34:37 -07:00
Sam Soffes
8e5de14303 Fixed warning 2011-05-31 10:14:29 -07:00
Peter Steinberger
1929676481 fixes warning with llvm 2.1 2011-05-28 01:34:31 +02:00
Sam Soffes
c3ed902615 Fixed warning 2011-03-28 11:59:54 -07:00
Sam Soffes
09775a7765 Initial commit 2010-07-21 18:05:38 -05:00