Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace autotools macro AC_HELP_STRING with AS_HELP_STRING. | Matthieu Longo | 2024-04-29 | 1 | -1/+1 |
| | | | | In minizip's configure.ac. AC_HELP_STRING is obsolete. | ||||
* | Use z_const for setting msg to literal strings. | Lwisce Zeng | 2024-04-01 | 1 | -12/+12 |
| | |||||
* | Avert minizip warnings for MSVC. | Mark Adler | 2024-03-29 | 5 | -37/+56 |
| | |||||
* | Avoid conversion warning on 32-bit architectures in minizip. | Mark Adler | 2024-03-22 | 1 | -1/+1 |
| | |||||
* | Improve detection of UNIX-style systems in minizip. | Alexander Miller | 2024-03-16 | 4 | -11/+5 |
| | | | | | | | | | | | 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. | ||||
* | Avoid signed shift in minizip zip.c. | Mark Adler | 2024-03-12 | 1 | -1/+1 |
| | |||||
* | Improve random number seeding in skipset.h. | Mark Adler | 2024-03-10 | 1 | -1/+2 |
| | |||||
* | Add zipAlreadyThere() to minizip zip.c to help avoid duplicates. | Mark Adler | 2024-03-10 | 3 | -10/+612 |
| | |||||
* | Permit changing minizip Makefile optimization with CFLAGS. | Mark Adler | 2024-03-09 | 1 | -1/+1 |
| | |||||
* | Further address Microsoft deprecation warnings. | Mark Adler | 2024-02-09 | 1 | -1/+5 |
| | |||||
* | Address Microsoft deprecation warnings. | Mark Adler | 2024-02-08 | 1 | -1/+1 |
| | |||||
* | Fix broken links. | Justin Dhillon | 2024-02-07 | 2 | -575/+575 |
| | |||||
* | Fix version numbers in vstudio definition files. | Mark Adler | 2024-01-28 | 6 | -6/+6 |
| | | | | They can only have a major and a minor version. | ||||
* | Note termination of returned strings in contrib/minizip/unzip.h. | Mark Adler | 2024-01-23 | 1 | -0/+4 |
| | |||||
* | Avoid unterminated file name in contrib/minizip/miniunz.c. | Mark Adler | 2024-01-23 | 1 | -2/+2 |
| | |||||
* | Permit compiling contrib/minizip/unzip.c with decryption. | Mark Adler | 2024-01-23 | 2 | -5/+0 |
| | |||||
* | Change version number on develop branch to 1.3.1.1. | Mark Adler | 2024-01-22 | 13 | -26/+26 |
| | |||||
* | zlib 1.3.1v1.3.1master | Mark Adler | 2024-01-22 | 19 | -40/+40 |
| | |||||
* | Use Makefile compiler for minizip-test target. | Mark Adler | 2024-01-21 | 1 | -1/+1 |
| | |||||
* | Correct typos in source code. | Dimitri Papadopoulos | 2024-01-17 | 2 | -5/+5 |
| | |||||
* | Neutralize zip file traversal attacks in miniunz. | Matt Wilson | 2024-01-17 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | Archive formats such as .zip files are generally susceptible to so-called "traversal attacks". This allows an attacker to craft an archive that writes to unexpected locations of the file system (e.g., /etc/shadow) if an unspecting root user were to unpack a malicious archive. This patch neutralizes absolute paths such as /tmp/moo and deeply relative paths such as dummy/../../../../../../../../../../tmp/moo The Debian project requested CVE-2014-9485 be allocated for the first identified weakness. The fix was incomplete, resulting in a revised patch applied here. Since there wasn't an updated version released by Debian with the incomplete fix, I suggest we use this CVE to identify both issues. Link: https://security.snyk.io/research/zip-slip-vulnerability Link: https://bugs.debian.org/774321 Link: https://bugs.debian.org/776831 Link: https://nvd.nist.gov/vuln/detail/CVE-2014-9485 Reported-by: Jakub Wilk <jwilk@debian.org> Fixed-by: Michael Gilbert <mgilbert@debian.org> | ||||
* | Fix random typos over several source and text files. | THE-Spellchecker | 2024-01-17 | 5 | -8/+8 |
| | |||||
* | Correct case of MSDOS in contrib/minizip/miniunz.c. | William Leara | 2024-01-17 | 1 | -1/+1 |
| | |||||
* | Refer to correct function in contrib/minizip/unzip.c comment. | William Leara | 2024-01-17 | 1 | -1/+1 |
| | |||||
* | Correct repeated words in source file comments and a readme. | Paul Ivanov | 2023-11-14 | 4 | -7/+7 |
| | |||||
* | Fix decision on the emission of Zip64 end records in minizip. | Mark Adler | 2023-11-07 | 1 | -1/+1 |
| | | | | | | | | | | The appnote says that if the number of entries in the end record is 0xffff, then the actual number of entries will be found in the Zip64 end record. Therefore if the number of entries is equal to 0xffff, it can't be in the end record by itself, since that is an instruction to get the number from the Zip64 end record. This code would just store 0xffff in the end record in that case, not making a Zip64 end record. This commit fixes that. | ||||
* | Update miniunz version. | tbeu | 2023-08-20 | 1 | -1/+1 |
| | |||||
* | Update version and date in contrib/nuget. | Mark Adler | 2023-08-19 | 1 | -2/+2 |
| | |||||
* | Update version numbers and year in contrib/vstudio/vc17. | Mark Adler | 2023-08-19 | 2 | -5/+5 |
| | |||||
* | Update vc directory in contrib/nuget. | Mark Adler | 2023-08-19 | 1 | -8/+8 |
| | |||||
* | Rename contrib/vstudio/vc143 to vc17. | Mark Adler | 2023-08-19 | 9 | -0/+0 |
| | | | | | This makes it consistent with the other vstudio projects, which use the version number. | ||||
* | Reject overflows of zip header fields in minizip. | Hans Wennborg | 2023-08-19 | 1 | -0/+11 |
| | | | | | | | | This checks the lengths of the file name, extra field, and comment that would be put in the zip headers, and rejects them if they are too long. They are each limited to 65535 bytes in length by the zip format. This also avoids possible buffer overflows if the provided fields are too long. | ||||
* | Add project and solution files for building a nuget package. | AraHaan | 2023-08-19 | 2 | -0/+65 |
| | |||||
* | Add VS2022 project files. | AraHaan | 2023-08-19 | 10 | -1/+3549 |
| | | | | Also replaced Itanium with ARM and ARM64 configurations. | ||||
* | Remove carriage returns from contrib/vstudio/readme.txt. | Mark Adler | 2023-08-19 | 1 | -75/+75 |
| | |||||
* | Change version number on develop branch to 1.3.0.1. | Mark Adler | 2023-08-18 | 9 | -20/+20 |
| | |||||
* | zlib 1.3v1.3 | Mark Adler | 2023-08-18 | 16 | -33/+33 |
| | |||||
* | Avoid uninitialized and unused warnings in contrib/minizip. | Mark Adler | 2023-08-17 | 2 | -2/+8 |
| | |||||
* | Add license to contrib/untgz. | Bastian Germann | 2023-08-17 | 1 | -0/+16 |
| | | | | A zlib license was agreed to by the authors. | ||||
* | Fix typos in contrib/ada. | Dimitri Papadopoulos | 2023-08-14 | 2 | -3/+3 |
| | |||||
* | Remove redundant includes in minizip. | Mark Adler | 2023-08-13 | 2 | -4/+0 |
| | |||||
* | Remove TRYFREE macro from minizip. | Mark Adler | 2023-08-13 | 2 | -25/+19 |
| | |||||
* | Fix some spelling errors. | Dimitri Papadopoulos | 2023-08-03 | 8 | -11/+11 |
| | |||||
* | Read multiple bytes instead of byte-by-byte in minizip unzip.c. | Eugene Golushkov | 2023-08-03 | 1 | -96/+38 |
| | | | | | Use a single ZREAD64 call in the unz64local_getShort/Long/Long64 implementation, rather than read it byte by byte. | ||||
* | Support Haiku in minizip. | Gilles Vollant | 2023-08-03 | 4 | -4/+4 |
| | |||||
* | Correct dummy filetime() prototype in minizip.c. | Xiang Xiao | 2023-08-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | ||||
* | Match sign of printf directive to sign of argument in testzlib. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Match sign of printf directive to sign of argument in minizip. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Fix logic error in minizip argument processing. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Fix typos found by codespell in minizip | Dimitri Papadopoulos | 2023-07-29 | 8 | -36/+36 |
| |