2244 Commits

Author SHA1 Message Date
Nathan Moinvaziri
8905345287 Updated readme. 2015-12-12 02:03:38 -07:00
Nathan Moinvaziri
39c3be2de3 Fix formatting. 2015-12-12 01:56:38 -07:00
Nathan Moinvaziri
63334f8c7c Fix formatting. 2015-12-12 01:45:29 -07:00
Nathan Moinvaziri
d83ae0124e Remove unnecessary variable. 2015-12-02 22:50:24 -07:00
Nathan Moinvaziri
bb955afe06 Merge pull request #30 from woutervd/master
Added unzseek to be able to seek in zip files that have the storage c…
2015-12-01 16:56:51 -07:00
wvandongen
43c7f90081 Added seeking origin. Wanted to use z_off64_t instead of ZPOS64_T because seeking offset may be negative. But it unfortunately was not available in the scope, and ZPOS64_T is used as the offset type in the library in other places as well. 2015-11-28 15:49:57 +01:00
Nathan Moinvaziri
4e059b510f Revert changes to solution file. 2015-11-25 01:40:57 -07:00
Nathan Moinvaziri
103752aa20 Merge branch 'master' of github.com:nmoinvaz/minizip 2015-11-25 01:35:58 -07:00
Nathan Moinvaziri
82d826c496 Normalize line endings. 2015-11-25 01:35:03 -07:00
Nathan Moinvaziri
977afb2296 Merge pull request #40 from ABaumgaertner/master
Fixed missing semi-colon.
2015-11-22 19:12:05 -07:00
ABaumgaertner
572bec4fad missing ; in unzip.c 2015-11-22 15:54:17 +01:00
Nathan Moinvaziri
8932005192 Remove #defines from previous check-in. 2015-11-20 12:08:49 -07:00
Nathan Moinvaziri
9468cccbf8 Merge pull request #38 from franiu/master
Fixed an arithmetic overflow leading to unzipping failure in 64bit mode
2015-11-20 12:05:50 -07:00
Nathan Moinvaziri
f69819d924 Merge pull request #24 from LindleyF/master
Fix use-of-uninitialized-value warning.
2015-11-20 11:57:01 -07:00
Nathan Moinvaziri
2adc181228 Fixed unzReadCurrentFile crashes if passed NULL as parameter. (Issue #32) 2015-11-20 11:47:48 -07:00
Nathan Moinvaziri
de19d49737 Fixed compiler warning on iOS 9. (Issue #37) 2015-11-20 11:34:50 -07:00
Nathan Moinvaziri
253dd963ea Fixed entropy.c compilation for OSX 10.11. (Issue #39) 2015-11-20 10:53:45 -07:00
Franiu
97f3b2c0cf Fixed an arithmetic overflow leading to unzipping failure in 64bit mode 2015-10-17 00:36:06 -04:00
juani
65a215b5da zipClose2_64 function allows to set "version made by".
A couple of ZIP64 versions of zipClose, which allows the user to set the "version made by" field  in Zip64 end of central directory record.
2015-09-10 18:21:24 -03:00
juani
ad93fda09c Honor "version made by" field set by user.
When changing the "version made by" field for a ZIP64 archive with a version value of 4.5 honor the "file compatibility attribute" byte, possibly set by the user with zipOpenNewFileInZip4_64.
2015-09-10 18:12:01 -03:00
Nathan Moinvaziri
0b46a2b4ca Merge branch 'master' of https://github.com/nmoinvaz/minizip 2015-06-17 13:11:30 -07:00
Nathan Moinvaziri
46a45fdcd3 Fixed bug in command line parsing. (Issue #23) 2015-06-17 13:11:04 -07:00
Nathan Moinvaziri
b922e4b537 Merge pull request #31 from asmaloney/fix/range_comparison_oops
Revert range comparison "fix"
2015-06-17 13:07:31 -07:00
Andy Maloney
0ae4412169 Revert range comparison "fix" 2015-06-17 00:20:42 -04:00
Lindley French
76b4c7e881 Merge remote-tracking branch 'upstream/master' 2015-06-16 12:39:52 -07:00
Nathan Moinvaziri
fac97616a2 Added AES makefile
Fixed includes for unix systems.
2015-06-16 10:14:07 -07:00
Nathan Moinvaziri
7baad39186 Merge branch 'master' of https://github.com/nmoinvaz/minizip 2015-06-16 10:01:35 -07:00
Nathan Moinvaziri
4f55da0a3b Fixed incorrect types. 2015-06-16 09:59:19 -07:00
Nathan Moinvaziri
0c89c5964d Merge pull request #28 from asmaloney/fix/range_compare_errors
Fix incorrect range comparisons
2015-06-16 09:56:45 -07:00
Andy Maloney
ea5160a018 Fix incorrect range comparisons 2015-06-16 05:32:51 -04:00
Nathan Moinvaziri
d670c39b1f Merge branch 'fix/range_compare_errors' of https://github.com/asmaloney/minizip 2015-06-15 22:14:30 -07:00
Nathan Moinvaziri
9bccc22efb Remove unused is64bitOpenFunction parameter from unzOpenInternal. 2015-06-15 22:08:59 -07:00
Nathan Moinvaziri
ecc140ebca Merge pull request #27 from asmaloney/fix/incorrect_comparison
Should be comparing size of the comment, not pointer.
2015-06-15 22:02:28 -07:00
Nathan Moinvaziri
031a8ceda8 Remove unused is64bitOpenFunction parameter from unzOpenInternal. 2015-06-15 21:59:19 -07:00
Andy Maloney
e05be9e9c6 Fix incorrect range comparisons 2015-06-15 22:27:45 -04:00
Andy Maloney
d587f7fbbc Should be comparing size of the comment, not pointer 2015-06-15 22:22:13 -04:00
Lindley French
db42f0258a UNZ_EOF and UNZ_OK are both zero, so the caller of unzlocal_getByte has no way to know whether or not pi points to data or garbage. This change makes it point to zero in the EOF case. While it might be better to indicate an error immediately, that is a more significant change. The library ought to be just as good at handling an erroneous zero byte as anything else; and this way dynamic analysis tools won't complain about use-of-uninitialized-value when reading a malformed file. 2015-06-15 15:55:27 -07:00
Nathan Moinvaziri
f5d3d04272 Update link 2015-05-17 09:46:08 -07:00
Nathan Moinvaziri
c42c2abba9 Merge pull request #21 from kant/patch-1
Update link
2015-05-17 09:42:56 -07:00
Nathan Moinvaziri
0627b3de5c Merge pull request #20 from 0-wiz-0/master
Fix linking on NetBSD and DragonFly BSD.
2015-05-17 09:42:43 -07:00
Thomas Klausner
01b5dca31c Fix linking on NetBSD, OpenBSD, and DragonFly BSD.
On these operating systems fopen, fseek, and ftello are 64-bit
filesize safe.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-05-10 13:21:56 +02:00
Darío Hereñú
54444c5ba3 Update link? 2015-04-19 12:51:52 -03:00
woutervd
fce020b26b Added unzseek to be able to seek in zip files that have the storage compression method 2015-03-22 12:58:29 +01:00
Nathan Moinvaziri
6fc8567e99 Fixed offset not being set properly. 2015-01-06 17:11:49 -07:00
Nathan Moinvaziri
1f38dffc39 Fixed IOWIN32_USING_WINRT_API definition (see zlib issue #49). 2014-10-12 20:19:51 -07:00
Nathan Moinvaziri
f5c1fc18d8 Fixed formatting. 2014-10-08 12:12:17 -07:00
Nathan Moinvaziri
7e877c3592 Fixed wrong encryption flag being set. 2014-10-08 12:11:56 -07:00
Nathan Moinvaziri
b4b4a8d7dd Use general purpose encrypted flag when using password. 2014-10-07 21:23:42 -07:00
Nathan Moinvaziri
d71932f416 Add back some variables for debugging. 2014-10-07 21:14:33 -07:00
Nathan Moinvaziri
9db48063f6 Merge pull request #16 from asmaloney/cleanup
Unused var cleanup & fix memory leaks
2014-10-07 21:11:57 -07:00