Skip to content

Commit 9e35567

Browse files
committed
Version 1.3.2
1 parent 890953a commit 9e35567

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+182
-103
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12...3.31)
33
project(
44
zlib
55
LANGUAGES C
6-
VERSION 1.3.1.2
6+
VERSION 1.3.2
77
HOMEPAGE_URL "https://zlib.net/"
88
DESCRIPTION "a general-purpose lossless data-compression library")
99

ChangeLog

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11

22
ChangeLog file for zlib
33

4+
Changes in 1.3.2 (17 Feb 2026)
5+
- Continued rewrite of CMake build [Vollstrecker]
6+
- Various portability improvements
7+
- Various github workflow additions and improvements
8+
- Check for negative lengths in crc32_combine functions
9+
- Copy only the initialized window contents in inflateCopy
10+
- Prevent the use of insecure functions without an explicit request
11+
- Add compressBound_z and deflateBound_z functions for large values
12+
- Use atomics to build inflate fixed tables once
13+
- Add definition of ZLIB_INSECURE to build tests with c89 and c94
14+
- Add --undefined option to ./configure for UBSan checker
15+
- Copy only the initialized deflate state in deflateCopy
16+
- Zero inflate state on allocation
17+
- Remove untgz from contrib
18+
- Add _z versions of the compress and uncompress functions
19+
- Vectorize the CRC-32 calculation on the s390x
20+
- Set bit 11 of the zip header flags in minizip if UTF-8
21+
- Update OS/400 support
22+
- Add a test to configure to check for a working compiler
23+
- Check for invalid NULL pointer inputs to zlib operations
24+
- Add --mandir to ./configure to specify manual directory
25+
- Add LICENSE.Info-Zip to contrib/minizip
26+
- Remove vstudio projects in lieu of cmake-generated projects
27+
- Replace strcpy() with memcpy() in contrib/minizip
28+
429
Changes in 1.3.1.2 (8 Dec 2025)
530
- Improve portability to RISC OS
631
- Permit compiling contrib/minizip/unzip.c with decryption

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Copyright notice:
22

3-
(C) 1995-2025 Jean-loup Gailly and Mark Adler
3+
(C) 1995-2026 Jean-loup Gailly and Mark Adler
44

55
This software is provided 'as-is', without any express or implied
66
warranty. In no event will the authors be held liable for any damages

Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for zlib
2-
# Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
2+
# Copyright (C) 1995-2026 Jean-loup Gailly, Mark Adler
33
# For conditions of distribution and use, see copyright notice in zlib.h
44

55
# To compile and test, type:
@@ -31,7 +31,7 @@ VGFMAFLAG=
3131

3232
STATICLIB=libz.a
3333
SHAREDLIB=libz.so
34-
SHAREDLIBV=libz.so.1.3.1.2
34+
SHAREDLIBV=libz.so.1.3.2
3535
SHAREDLIBM=libz.so.1
3636
LIBS=$(STATICLIB) $(SHAREDLIBV)
3737

README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ZLIB DATA COMPRESSION LIBRARY
22

3-
zlib 1.3.1.2 is a general purpose data compression library. All the code is
3+
zlib 1.3.2 is a general purpose data compression library. All the code is
44
thread safe (though see the FAQ for caveats). The data format used by the zlib
55
library is described by RFCs (Request for Comments) 1950 to 1952 at
66
https://datatracker.ietf.org/doc/html/rfc1950 (zlib format), rfc1951 (deflate
@@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
3131
issue of Dr. Dobb's Journal; a copy of the article is available at
3232
https://zlib.net/nelson/ .
3333

34-
The changes made in version 1.3.1.2 are documented in the file ChangeLog.
34+
The changes made in version 1.3.2 are documented in the file ChangeLog.
3535

3636
Unsupported third party contributions are provided in directory contrib/ .
3737

@@ -81,7 +81,7 @@ Acknowledgments:
8181

8282
Copyright notice:
8383

84-
(C) 1995-2025 Jean-loup Gailly and Mark Adler
84+
(C) 1995-2026 Jean-loup Gailly and Mark Adler
8585

8686
This software is provided 'as-is', without any express or implied
8787
warranty. In no event will the authors be held liable for any damages

compress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* compress.c -- compress a memory buffer
2-
* Copyright (C) 1995-2005, 2014, 2016 Jean-loup Gailly, Mark Adler
2+
* Copyright (C) 1995-2026 Jean-loup Gailly, Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

contrib/delphi/ZLib.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
152152
const OutBuf: Pointer; BufSize: Integer);
153153

154154
const
155-
zlib_version = '1.3.1.2';
155+
zlib_version = '1.3.2';
156156

157157
type
158158
EZlibError = class(Exception);

contrib/dotzlib/DotZLib/UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public class InfoTests
156156
public void Info_Version()
157157
{
158158
Info info = new Info();
159-
Assert.AreEqual("1.3.1.2", Info.Version);
159+
Assert.AreEqual("1.3.2", Info.Version);
160160
Assert.AreEqual(32, info.SizeOfUInt);
161161
Assert.AreEqual(32, info.SizeOfULong);
162162
Assert.AreEqual(32, info.SizeOfPointer);

contrib/infback9/inftree9.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* inftree9.c -- generate Huffman trees for efficient decoding
2-
* Copyright (C) 1995-2025 Mark Adler
2+
* Copyright (C) 1995-2026 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

@@ -9,7 +9,7 @@
99
#define MAXBITS 15
1010

1111
const char inflate9_copyright[] =
12-
" inflate9 1.3.1.2 Copyright 1995-2025 Mark Adler ";
12+
" inflate9 1.3.2 Copyright 1995-2026 Mark Adler ";
1313
/*
1414
If you use the zlib library in a product, an acknowledgment is welcome
1515
in the documentation of your product. If for some reason you cannot
@@ -59,7 +59,7 @@ int inflate_table9(codetype type, unsigned short FAR *lens, unsigned codes,
5959
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
6060
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
6161
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
62-
133, 133, 133, 133, 144, 64, 204};
62+
133, 133, 133, 133, 144, 199, 75};
6363
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
6464
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
6565
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,

contrib/minizip/MiniZip64_info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MiniZip - Copyright (c) 1998-2010 - by Gilles Vollant - version 1.1 64 bits from Mathias Svensson
1+
MiniZip - Copyright (c) 1998-2026 - by Gilles Vollant - version 1.1 64 bits from Mathias Svensson
22

33
Introduction
44
---------------------

0 commit comments

Comments
 (0)