aboutsummaryrefslogtreecommitdiff
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-09Further address Microsoft deprecation warnings.Mark Adler7-29/+45
2024-02-09Keep lines short in gzread.c.Mark Adler1-1/+2
2024-02-09Avoid signedness change warning in test/minigzip.c.Mark Adler1-1/+1
2024-02-09Correct a variable type in deflate.c.Mark Adler1-1/+2
2024-02-09One more github actions version update.Mark Adler1-1/+1
2024-02-09Update github actions versions.Mark Adler3-4/+4
2024-02-09Include share.h on Windows for _SH_DENYNO.Mark Adler1-0/+1
2024-02-08Address Microsoft deprecation warnings.Mark Adler6-13/+25
2024-02-07Fix broken links.Justin Dhillon6-579/+579
2024-02-07Correct printf formats in test/infcover.c to %zu.Mark Adler1-3/+3
2024-02-07Expand on the deflate strategy parameter in zlib.h.Mark Adler1-12/+15
2024-02-06Assume no snprintf() or vsnprintf() if C89/90 in gzguts.h.Mark Adler1-19/+14
Those functions were introduced in C99. However it is assumed that they are there if under Windows, since Visual C claims C89/90, but does have those functions, or variants.
2024-02-06Avoid use of snprintf() in test/minigzip.c.Mark Adler1-29/+27
It was being used only as a safe version of strcpy(). Instead, use a safe alternative to strcpy().
2024-02-06Use _POSIX_C_SOURCE in gzguts.h, instead of _POSIX_SOURCE.Mark Adler1-2/+2
2024-02-05Enable fileno() for POSIX system in minigzip.c.Paul Marquess1-0/+4
2024-02-04Update zran version.Mark Adler2-4/+8
2024-02-04Allocate the dictionaries in examples/zran.c.Mark Adler2-22/+27
This reduces the memory needed for dictionaries, and avoids the need to reallocate the index at the end to return unused memory.
2024-02-04Provide a reusable inflate engine in the index in example/zran.c.Mark Adler2-76/+78
Avoids the overhead of creating a new inflate engine for each random access extraction.
2024-02-04Stop decoding in zran.c once request is satisfied.Mark Adler1-2/+6
2024-02-04Set returned index to NULL on an index build error in zran.c.Mark Adler2-1/+5
An attempt to use the returned pointer in deflate_index_extract() will now return cleanly with an error. The returned pointer can now also be used with deflate_index_free() even on error.
2024-01-28Fix cmake build directory interference issue.Mark Adler1-2/+6
2024-01-28Fix version numbers in vstudio definition files.Mark Adler6-6/+6
They can only have a major and a minor version.
2024-01-24Update copyright years in LICENSE file.Mark Adler1-1/+1
2024-01-23Enable build of shared library on AIX.Aleksei Shpakovskii1-0/+1
2024-01-23Note termination of returned strings in contrib/minizip/unzip.h.Mark Adler1-0/+4
2024-01-23Ignore unknown options in configure.Mark Adler1-4/+5
2024-01-23Avoid implicit conversion warnings in deflate.c and trees.c.Levi Broderick2-5/+5
2024-01-23Add option to CMakeLists.txt to disable renaming of zconf.h.Tomas Berger1-1/+2
2024-01-23Avoid unterminated file name in contrib/minizip/miniunz.c.Mark Adler1-2/+2
2024-01-23Permit compiling contrib/minizip/unzip.c with decryption.Mark Adler2-5/+0
2024-01-23Improve portability to RISC OS.Cameron Cawley5-9/+11
2024-01-22Change version number on develop branch to 1.3.1.1.Mark Adler26-52/+55
2024-01-22zlib 1.3.1v1.3.1masterMark Adler41-84/+91
2024-01-22Move the load flags before the object files in Makefile tests.Mark Adler1-5/+5
2024-01-22Add target include directories to CMakeLists.txt.tr1cks1-0/+2
This enables the addition of zlib to other projects.
2024-01-21Use Makefile compiler for minizip-test target.Mark Adler2-2/+2
2024-01-20Remove -w compile option in configure test.Mark Adler1-1/+1
Not all C compilers have a -w option.
2024-01-19Use updated zconf.h when building out of directory with configure.Dan Kegel1-1/+1
2024-01-19Remove carriage returns from zlib.map.Mark Adler1-100/+100
2024-01-19Fix a bug in ZLIB_DEBUG compiles in check_match().Mark Adler1-6/+14
This avoids trying to compare a match starting one byte before the current window. Thanks to @zmodem (Hans) for discovering this.
2024-01-19Revert "Add a CMake option to link the C runtime statically."Mark Adler1-21/+4
This reverts commit 44dc43ab047d65febed972a17b0e3bf7e994e8f2.
2024-01-17Remove unused Z_ARG macro.Mark Adler3-24/+0
2024-01-17Fix cmake build on AIX.gastush1-1/+1
The --version-script linker option is not supported by the linker on AIX systems
2024-01-17Remove mentions of an official zlib DLL distribution.Mark Adler2-20/+3
There used to be one, but no more. It is up to the user or vendor to compile zlib.
2024-01-17Correct typos in source code.Dimitri Papadopoulos3-6/+6
2024-01-17Make the existence of gz_intmax() unconditional.Milan Bulat2-10/+6
gz_intmax() is noted in zlib.map. This assures it's always there.
2024-01-17Add cmake option to control the build of the example executables.Peter Taylor1-17/+19
2024-01-17Neutralize zip file traversal attacks in miniunz.Matt Wilson1-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>
2024-01-17Add a CMake option to link the C runtime statically.tbeu1-4/+22
2024-01-17Fix random typos over several source and text files.THE-Spellchecker8-11/+11