Commit Graph

553 Commits

Author SHA1 Message Date
Vadim Zeitlin
a6c8900ecb Merge remote-tracking branch 'upstream/develop' into wx
Some checks failed
CMake / ${{ matrix.name }} (-A Win32, cl, Windows MSVC Win32, windows-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (-A x64, cl, Windows MSVC Win64, windows-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (-G Ninja, gcc, Windows GCC, windows-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (-O3, gcc, Ubuntu GCC -O3, ubuntu-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (../build, gcc, Ubuntu GCC OSB, ubuntu-latest, ../zlib) (push) Has been cancelled
CMake / ${{ matrix.name }} (Debug, clang, Ubuntu Clang Debug, ubuntu-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (clang, Ubuntu Clang, ubuntu-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (clang, macOS Clang, macos-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (gcc, Ubuntu GCC, ubuntu-latest) (push) Has been cancelled
CMake / ${{ matrix.name }} (gcc-9, macOS GCC, macos-latest) (push) Has been cancelled
Configure / ${{ matrix.name }} (-static, powerpc-linux-gnu, powerpc-linux-gnu-gcc, --warn --static, -static, Ubuntu GCC PPC, ubuntu-latest, qemu qemu-user gcc-powerpc-linux-gnu libc-dev-powerpc-cross, qemu-ppc -L /usr/powerpc-linux-gnu) (push) Has been cancelled
Configure / ${{ matrix.name }} (-static, powerpc-linux-gnu, powerpc64-linux-gnu-gcc, --warn --static, -static, Ubuntu GCC PPC64, ubuntu-latest, qemu qemu-user gcc-powerpc64-linux-gnu libc-dev-ppc64-cross, qemu-ppc64 -L /usr/powerpc64-linux-gnu) (push) Has been cancelled
Configure / ${{ matrix.name }} (-static, s390x-linux-gnu, s390x-linux-gnu-gcc, --warn --static, -static, Ubuntu GCC S390X, ubuntu-latest, qemu qemu-user gcc-s390x-linux-gnu libc-dev-s390x-cross, qemu-s390x -L /usr/s390x-linux-gnu) (push) Has been cancelled
Configure / ${{ matrix.name }} (../build, gcc, --warn, Ubuntu GCC OSB, ubuntu-latest, ../zlib) (push) Has been cancelled
Configure / ${{ matrix.name }} (aarch64-linux-gnu, aarch64-linux-gnu-gcc, --warn, Ubuntu GCC AARCH64, ubuntu-latest, qemu qemu-user gcc-aarch64-linux-gnu libc-dev-arm64-cross, qemu-aarch64 -L /usr/aarch64-linux-gnu) (push) Has been cancelled
Configure / ${{ matrix.name }} (arm-linux-gnueabi, arm-linux-gnueabi-gcc, --warn, Ubuntu GCC ARM SF, ubuntu-latest, qemu qemu-user gcc-arm-linux-gnueabi libc-dev-armel-cross, qemu-arm -L /usr/arm-linux-gnueabi) (push) Has been cancelled
Configure / ${{ matrix.name }} (arm-linux-gnueabihf, arm-linux-gnueabihf-gcc, --warn, Ubuntu GCC ARM HF, ubuntu-latest, qemu qemu-user gcc-arm-linux-gnueabihf libc-dev-armhf-cross, qemu-arm -L /usr/arm-linux-gnueabihf) (push) Has been cancelled
Configure / ${{ matrix.name }} (clang, --warn, macOS Clang, macos-latest) (push) Has been cancelled
Configure / ${{ matrix.name }} (gcc, --warn, Ubuntu GCC, ubuntu-latest) (push) Has been cancelled
Configure / ${{ matrix.name }} (gcc-9, --warn, macOS GCC, macos-latest) (push) Has been cancelled
Configure / ${{ matrix.name }} (powerpc64le-linux-gnu, powerpc64le-linux-gnu-gcc, --warn, Ubuntu GCC PPC64LE, ubuntu-latest, qemu qemu-user gcc-powerpc64le-linux-gnu libc-dev-ppc64el-cross, qemu-ppc64le -L /usr/powerpc64le-linux-gnu) (push) Has been cancelled
Update to zlib 1.2.13.1 which fixes CVE-2022-37434.
2023-01-26 23:37:46 +01:00
Mark Adler
a9b4c1de37 Update zlib_how.html to match the web page, and add a license. 2023-01-24 20:43:19 -08:00
Mark Adler
02a6049eb3 Fix crash when gzsetparams() attempted for transparent write.
gzsetparams() now returns a Z_STREAM_ERROR in this case.
2022-12-26 23:38:00 -08:00
Mark Adler
e554695638 Fix bug in deflateBound() for level 0 and memLevel 9.
memLevel 9 would cause deflateBound() to assume the use of fixed
blocks, even if the compression level was 0, which forces stored
blocks. That could result in a bound less than the size of the
compressed data. Now level 0 always uses the stored blocks bound.
2022-12-15 09:15:31 -08:00
Mark Adler
76820e4107 Update broken article link in README.
Signed-off-by: Marcus Müller <mueller_sourcecodinglib@baseband.digital>
2022-11-08 11:55:40 -08:00
Mark Adler
41fda48fc2 Change version number on develop branch to 1.2.13.1. 2022-10-15 09:02:21 -07:00
Mark Adler
04f42ceca4 zlib 1.2.13 2022-10-12 22:06:55 -07:00
Nathan Moinvaziri
aefaf43b28 CI: Add instance for GCC on Windows. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
d4fb7dd805 CI: Add instances for S390X using QEMU in configure workflow. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
2a9cb5ae6e CI: Add instance for Clang on macOS in configure workflow. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
f5ceeb964d CI: Add instances for PPC using QEMU in configure workflow. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
da6f1623c1 CI: Run test applications against QEMU. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
b85c172e1d CI: Add instances for ARM using QEMU in configure workflow. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
76f3536af8 CI: Add instance for GCC -O3 on Ubuntu in cmake workflow. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
e029de6080 CI: Run infcover during test runs. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
594e8e8f62 CI: Upload build errors on failure. 2022-10-11 20:21:50 -07:00
Nathan Moinvaziri
462986f38e CI: Make in-source builds default so we can upload failure logs. 2022-10-11 20:21:48 -07:00
Mark Adler
723abd54d8 Minor formatting changes in configure.
No code changes.
2022-10-10 11:11:12 -07:00
Mark Adler
0091cb0281 Fix linking on AIX with gcc. 2022-10-10 11:00:49 -07:00
Mark Adler
29fd715fd0 Turn off RWX segment warnings on sparc systems. 2022-10-10 10:30:22 -07:00
Mark Adler
40c5a9bc06 Find other BSD's without *64 functions in contrib/minizip/ioapi.h. 2022-10-10 02:39:33 -07:00
Mark Adler
2bb4961990 Avoid C89 warning in contrib/minizip/crypt.h. 2022-10-10 01:01:38 -07:00
Mark Adler
e61ff990c0 Comment out unused code in contrib/minizip/minizip.c. 2022-10-09 21:26:39 -07:00
Mark Adler
d30b763dac Remove vestigial line from configure. 2022-10-09 19:44:32 -07:00
Mark Adler
19f8551627 Don't try to include unistd.h on Windows with LLVM. 2022-10-09 17:32:50 -07:00
Mark Adler
013c0ca0f4 Search for system name in CHOST instead of trying to extract it. 2022-10-09 16:55:49 -07:00
Mark Adler
8cca42c33f Remove bypass of MinGW gcc case in configure. 2022-10-09 15:40:35 -07:00
Mark Adler
67eb09a20b Add continuous integration workflows. [nmoinvaz]
These workflows will be run to verify that project generation,
source file compilation, and test cases run successfully.
2022-10-06 21:59:53 -07:00
Mark Adler
352cb28d12 Add a separate LICENSE file to the distribution. 2022-10-06 20:43:19 -07:00
Mark Adler
4572dfbe99 Remove some harmless semicolons in minizip. 2022-10-06 20:43:19 -07:00
Mark Adler
888b3da8de Provide missing function prototypes in CRC-32 code. [fredgan] 2022-10-06 20:43:18 -07:00
Mark Adler
a9e14e8541 Avoid undefined negation behavior if windowBits is INT_MIN. 2022-10-06 20:43:18 -07:00
Mark Adler
138c93cffb Security and warning fixes for minizip. [gvollant]
Remove unused code and unnecessary test for free().
2022-10-06 20:43:18 -07:00
Mark Adler
9b291c9f01 Fix incorrect cast in minizip's ioapi.c. 2022-10-06 20:43:18 -07:00
Mark Adler
2d283adfee Fix c89 compatibility in minizip's ioapi.c. [gvollant] 2022-10-06 20:43:18 -07:00
Mark Adler
9331fecc10 Remove redundant check in gz_look(). 2022-10-06 20:43:18 -07:00
Mark Adler
d0704a8201 Remove deleted assembler code references.
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.
2022-10-06 20:43:09 -07:00
Mark Adler
095da07753 Remove -pedantic from configure -w compile options. 2022-10-06 01:03:18 -07:00
Mark Adler
cc8d08c21e Update copyright year in win32/zlib1.rc. 2022-10-05 19:46:40 -07:00
Mark Adler
d39a2558bc Add missing symbols to os400/bndsrc. 2022-10-05 15:17:52 -07:00
Mark Adler
84c6716a48 Minor formatting improvements.
No code changes.
2022-10-05 15:17:52 -07:00
Mark Adler
3e4aa45834 Add new crc32 functions to z_ prefix defines. 2022-10-05 15:17:52 -07:00
Mark Adler
456775aec8 Add WIN32_LEAN_AND_MEAN for windows.h include. 2022-10-05 15:17:52 -07:00
Mark Adler
4078713e3b Tighten deflateBound bounds.
This improves the non-default expansion from 14% down to 4% in
most cases, and 13% in the remainder.
2022-10-05 15:16:42 -07:00
Mark Adler
7fabcb5357 Fix bug in block type selection when Z_FIXED used.
A fixed block could be chosen when a stored block was smaller. Now
the smaller of the two is always chosen.
2022-10-03 11:42:18 -07:00
Mark Adler
2d6d59e472 Avoid conversion warning in minigzip.c. 2022-10-01 16:52:35 -07:00
Mark Adler
59b948acee Fix typo in contrib readme. 2022-08-28 13:13:17 -07:00
Mark Adler
5752b171fd Fix some typos.
No code changes.
2022-08-23 15:35:13 -07:00
Mark Adler
1eb7682f84 Fix extra field processing bug that dereferences NULL state->head.
The recent commit to fix a gzip header extra field processing bug
introduced the new bug fixed here.
2022-08-08 10:55:40 -07:00
Mark Adler
22aec0cb0b Add -g when debugging with -fsanitize=address to include symbols. 2022-07-31 09:32:43 -07:00