Mark Adler
0f51fb4933
Avert minizip warnings for MSVC.
12 months ago
Alexander Miller
f02ea29e5f
Improve detection of UNIX-style systems in minizip.
...
Not all toolchains on UNIX-style operating systems predefine
"unix". For example, it's missing on NetBSD, OpenBSD/gcc, AIX,
HP-UX. There is no single macro defined everywhere, but checking
both "__unix__" and "__unix" should cover everything except macOS,
which is already checked for using "__APPLE__".
Note that case sensitivity should default to off on macOS and
cygwin, so the check there is different.
12 months ago
Mark Adler
da5937705d
Permit compiling contrib/minizip/unzip.c with decryption.
1 year ago
Dimitri Papadopoulos
fe41d18921
Correct typos in source code.
1 year ago
THE-Spellchecker
01155ccc3f
Fix random typos over several source and text files.
1 year ago
William Leara
762cf49e63
Refer to correct function in contrib/minizip/unzip.c comment.
1 year ago
Mark Adler
89ef46ba09
Remove redundant includes in minizip.
2 years ago
Mark Adler
384e50eea4
Remove TRYFREE macro from minizip.
2 years ago
Eugene Golushkov
be7aa11551
Read multiple bytes instead of byte-by-byte in minizip unzip.c.
...
Use a single ZREAD64 call in the unz64local_getShort/Long/Long64
implementation, rather than read it byte by byte.
2 years ago
Dimitri Papadopoulos
379bbda363
Fix typos found by codespell in minizip
2 years ago
Mark Adler
e0bd0ad6e4
Fix reading disk number start on zip64 files in minizip.
2 years ago
RedworkDE
f209ca7be7
minizip: Fix being unable to open empty zip file
2 years ago
Mark Adler
bf2578be2d
Remove K&R function definitions from contrib/minizip.
2 years ago
Mark Adler
138c93cffb
Security and warning fixes for minizip. [gvollant]
...
Remove unused code and unnecessary test for free().
2 years ago
Mark Adler
2014a993ad
Clean up minizip to reduce warnings for testing.
...
Also fix Makefile test target and permit added compile options.
3 years ago
Mark Adler
58ca4e57ce
Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
...
The issue is that unztell64() does not return the correct value if
the position in the current file (in the ZIP archive) is beyond 4
GB. The cause is that unzReadCurrentFile() does not account for
pfile_in_zip_read_info->stream.total_out at line 1854 of unzip.c
wrapping around (it is a 32-bit variable). So, on line 1860
uTotalOutAfter can be *less* than uTotalOutBefore, propagating the
wraparound to uOutThis, which in turn is added to
pfile_in_zip_read_info->total_out_64. That has the effect of
subtracting 4 GB.
3 years ago
Mark Adler
03614c56ad
Fix some typos.
8 years ago
takacsd
63ba7582b8
Fix types in contrib/minizip to match result of get_crc_table().
12 years ago
Birunthan Mohanathas
f51cc49c94
Fix comment typos in unzip.h and unzip.c.
13 years ago
Mark Adler
06c0e754ce
Minor cleanup up contrib/minizip/unzip.c [Vollant].
13 years ago
Mark Adler
5a5dd2c793
Fix large-entry detection in minizip on 64-bit systems [Schiffer].
13 years ago
Mark Adler
10daf0d4d7
zlib 1.2.5.1
14 years ago
Mark Adler
7751bd4c71
zlib 1.2.3.9
14 years ago
Mark Adler
e0ff940e1a
zlib 1.2.3.8
14 years ago
Mark Adler
d004b04783
zlib 1.2.3.5
14 years ago
Mark Adler
d6231142d2
zlib 1.2.3.2
14 years ago
Mark Adler
abf180a067
zlib 1.2.3
14 years ago
Mark Adler
6b8233bfe0
zlib 1.2.2.3
14 years ago
Mark Adler
79fbcdc939
zlib 1.2.2
14 years ago
Mark Adler
7a6955760b
zlib 1.2.1.2
14 years ago
Mark Adler
f81ba93d4a
zlib 1.2.0.6
14 years ago
Mark Adler
4b5a43a219
zlib 1.2.0.5
14 years ago
Mark Adler
85e7d7d9ba
zlib 1.2.0.3
14 years ago
Mark Adler
8e34b3a802
zlib 1.2.0.2
14 years ago
Mark Adler
13a294f044
zlib 1.2.0.1
14 years ago
Mark Adler
14763ac7c6
zlib 1.1.3
14 years ago
Mark Adler
c34c1fcbb1
zlib 1.1.2
14 years ago