aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Avoid C89 warning in contrib/minizip/crypt.h.Mark Adler2022-10-101-1/+1
|
* Comment out unused code in contrib/minizip/minizip.c.Mark Adler2022-10-091-2/+2
|
* Remove vestigial line from configure.Mark Adler2022-10-091-1/+0
|
* Don't try to include unistd.h on Windows with LLVM.Mark Adler2022-10-093-9/+30
|
* Search for system name in CHOST instead of trying to extract it.Mark Adler2022-10-091-5/+5
|
* Remove bypass of MinGW gcc case in configure.Mark Adler2022-10-091-3/+1
|
* Add continuous integration workflows. [nmoinvaz]Mark Adler2022-10-063-0/+133
| | | | | These workflows will be run to verify that project generation, source file compilation, and test cases run successfully.
* Add a separate LICENSE file to the distribution.Mark Adler2022-10-061-0/+22
|
* Remove some harmless semicolons in minizip.Mark Adler2022-10-062-2/+2
|
* Provide missing function prototypes in CRC-32 code. [fredgan]Mark Adler2022-10-062-3/+13
|
* Avoid undefined negation behavior if windowBits is INT_MIN.Mark Adler2022-10-062-0/+4
|
* Security and warning fixes for minizip. [gvollant]Mark Adler2022-10-062-7/+4
| | | | Remove unused code and unnecessary test for free().
* Fix incorrect cast in minizip's ioapi.c.Mark Adler2022-10-061-1/+1
|
* Fix c89 compatibility in minizip's ioapi.c. [gvollant]Mark Adler2022-10-061-10/+10
|
* Remove redundant check in gz_look().Mark Adler2022-10-061-5/+3
|
* Remove deleted assembler code references.Mark Adler2022-10-0630-615/+192
| | | | | | The code was removed, but the builds that used the code were not updated. This fixes that. Thanks to Adenilson and toxieainc for the patches.
* Remove -pedantic from configure -w compile options.Mark Adler2022-10-061-2/+2
|
* Update copyright year in win32/zlib1.rc.Mark Adler2022-10-051-1/+1
|
* Add missing symbols to os400/bndsrc.Mark Adler2022-10-051-0/+8
|
* Minor formatting improvements.Mark Adler2022-10-058-133/+138
| | | | No code changes.
* Add new crc32 functions to z_ prefix defines.Mark Adler2022-10-053-0/+9
|
* Add WIN32_LEAN_AND_MEAN for windows.h include.Mark Adler2022-10-053-0/+9
|
* Tighten deflateBound bounds.Mark Adler2022-10-051-22/+37
| | | | | This improves the non-default expansion from 14% down to 4% in most cases, and 13% in the remainder.
* Fix bug in block type selection when Z_FIXED used.Mark Adler2022-10-031-6/+5
| | | | | A fixed block could be chosen when a stored block was smaller. Now the smaller of the two is always chosen.
* Avoid conversion warning in minigzip.c.Mark Adler2022-10-011-1/+1
|
* Fix typo in contrib readme.Mark Adler2022-08-281-1/+1
|
* Fix some typos.Mark Adler2022-08-2319-35/+35
| | | | No code changes.
* Fix extra field processing bug that dereferences NULL state->head.Mark Adler2022-08-081-2/+2
| | | | | The recent commit to fix a gzip header extra field processing bug introduced the new bug fixed here.
* Add -g when debugging with -fsanitize=address to include symbols.Mark Adler2022-07-311-1/+1
|
* Fix a bug when getting a gzip header extra field with inflate().Mark Adler2022-07-301-2/+3
| | | | | | | | If the extra field was larger than the space the user provided with inflateGetHeader(), and if multiple calls of inflate() delivered the extra header data, then there could be a buffer overflow of the provided space. This commit assures that provided space is not exceeded.
* Have infback() deliver all of the available output up to any error.Mark Adler2022-07-241-7/+9
|
* Fix inflateBack to detect invalid input with distances too far.Mark Adler2022-06-271-0/+1
|
* Fix odd error in Visual C compiler preventing automatic promotion.Mark Adler2022-06-041-2/+2
|
* Fix missing ZEXPORT for crc32_combine_op().Mark Adler2022-06-041-1/+1
|
* Have build test report library version if it doesn't match zlib.h.Mark Adler2022-05-261-1/+2
|
* Correct incorrect inputs provided to the CRC functions.Mark Adler2022-03-301-4/+4
| | | | | | | The previous releases of zlib were not sensitive to incorrect CRC inputs with bits set above the low 32. This commit restores that behavior, so that applications with such bugs will continue to operate as before.
* Fix compile with Windows 10 SDK. (gvollant)Mark Adler2022-03-281-0/+5
|
* Fix configure issue that discarded provided CC definition.Mark Adler2022-03-281-0/+3
|
* Silence some warnings from Visual Studio C.Mark Adler2022-03-282-5/+5
|
* Change version number on develop branch to 1.2.12.1.Mark Adler2022-03-2724-48/+51
|
* zlib 1.2.12v1.2.12Mark Adler2022-03-2743-124/+218
|
* Fix crc32.c to compile local functions only if used.Mark Adler2022-03-271-62/+64
|
* Check for cc masquerading as gcc or clang in configure.Mark Adler2022-03-271-2/+8
|
* Remove destructive aspects of make distclean.Mark Adler2022-03-271-3/+1
|
* Separate out address sanitizing from warnings in configure.Mark Adler2022-03-271-2/+7
|
* Eliminate use of ULL constants.Mark Adler2022-03-271-3/+3
| | | | | | 0xffffffffffffffffULL was causing warnings for C99 usage. The suffix for the constant is not necessary anyway, so this commit removes them.
* Add fallthrough comments for gcc.Mark Adler2022-03-272-0/+24
| | | | Note intentional switch case fall throughs to avoid gcc warnings.
* Clean up minizip to reduce warnings for testing.Mark Adler2022-01-019-87/+96
| | | | Also fix Makefile test target and permit added compile options.
* Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)Mark Adler2022-01-011-0/+3
| | | | | | | | | | | | 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.
* minizip warning fix if MAXU32 already defined. (gvollant)Mark Adler2021-12-311-3/+5
|