Skip to content

Commit 2e52a26

Browse files
sam-githubMylesBorins
authored andcommitted
deps: upgrade zlib to 1.2.11
PR-URL: #10980 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
1 parent 9d7fba4 commit 2e52a26

Some content is hidden

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

82 files changed

+3202
-1720
lines changed

deps/zlib/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
33

44
project(zlib C)
55

6-
set(VERSION "1.2.8")
6+
set(VERSION "1.2.11")
77

88
option(ASM686 "Enable building i686 assembly implementation")
99
option(AMD64 "Enable building amd64 assembly implementation")

deps/zlib/ChangeLog

+49-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,53 @@
11

22
ChangeLog file for zlib
33

4+
Changes in 1.2.11 (15 Jan 2017)
5+
- Fix deflate stored bug when pulling last block from window
6+
- Permit immediate deflateParams changes before any deflate input
7+
8+
Changes in 1.2.10 (2 Jan 2017)
9+
- Avoid warnings on snprintf() return value
10+
- Fix bug in deflate_stored() for zero-length input
11+
- Fix bug in gzwrite.c that produced corrupt gzip files
12+
- Remove files to be installed before copying them in Makefile.in
13+
- Add warnings when compiling with assembler code
14+
15+
Changes in 1.2.9 (31 Dec 2016)
16+
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
17+
- Improve contrib/blast to return unused bytes
18+
- Assure that gzoffset() is correct when appending
19+
- Improve compress() and uncompress() to support large lengths
20+
- Fix bug in test/example.c where error code not saved
21+
- Remedy Coverity warning [Randers-Pehrson]
22+
- Improve speed of gzprintf() in transparent mode
23+
- Fix inflateInit2() bug when windowBits is 16 or 32
24+
- Change DEBUG macro to ZLIB_DEBUG
25+
- Avoid uninitialized access by gzclose_w()
26+
- Allow building zlib outside of the source directory
27+
- Fix bug that accepted invalid zlib header when windowBits is zero
28+
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
29+
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
30+
- Add --warn (-w) option to ./configure for more compiler warnings
31+
- Reject a window size of 256 bytes if not using the zlib wrapper
32+
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
33+
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
34+
- Fix bugs in creating a very large gzip header
35+
- Add uncompress2() function, which returns the input size used
36+
- Assure that deflateParams() will not switch functions mid-block
37+
- Dramatically speed up deflation for level 0 (storing)
38+
- Add gzfread(), duplicating the interface of fread()
39+
- Add gzfwrite(), duplicating the interface of fwrite()
40+
- Add deflateGetDictionary() function
41+
- Use snprintf() for later versions of Microsoft C
42+
- Fix *Init macros to use z_ prefix when requested
43+
- Replace as400 with os400 for OS/400 support [Monnerat]
44+
- Add crc32_z() and adler32_z() functions with size_t lengths
45+
- Update Visual Studio project files [AraHaan]
46+
447
Changes in 1.2.8 (28 Apr 2013)
548
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
649
- Do not force Z_CONST for C++
7-
- Clean up contrib/vstudio [Ro�]
50+
- Clean up contrib/vstudio [Roß]
851
- Correct spelling error in zlib.h
952
- Fix mixed line endings in contrib/vstudio
1053

@@ -34,7 +77,7 @@ Changes in 1.2.7.1 (24 Mar 2013)
3477
- Clean up the usage of z_const and respect const usage within zlib
3578
- Clean up examples/gzlog.[ch] comparisons of different types
3679
- Avoid shift equal to bits in type (caused endless loop)
37-
- Fix unintialized value bug in gzputc() introduced by const patches
80+
- Fix uninitialized value bug in gzputc() introduced by const patches
3881
- Fix memory allocation error in examples/zran.c [Nor]
3982
- Fix bug where gzopen(), gzclose() would write an empty file
4083
- Fix bug in gzclose() when gzwrite() runs out of memory
@@ -194,7 +237,7 @@ Changes in 1.2.5.2 (17 Dec 2011)
194237
- Add a transparent write mode to gzopen() when 'T' is in the mode
195238
- Update python link in zlib man page
196239
- Get inffixed.h and MAKEFIXED result to match
197-
- Add a ./config --solo option to make zlib subset with no libary use
240+
- Add a ./config --solo option to make zlib subset with no library use
198241
- Add undocumented inflateResetKeep() function for CAB file decoding
199242
- Add --cover option to ./configure for gcc coverage testing
200243
- Add #define ZLIB_CONST option to use const in the z_stream interface
@@ -564,7 +607,7 @@ Changes in 1.2.3.1 (16 August 2006)
564607
- Update make_vms.com [Zinser]
565608
- Use -fPIC for shared build in configure [Teredesai, Nicholson]
566609
- Use only major version number for libz.so on IRIX and OSF1 [Reinholdtsen]
567-
- Use fdopen() (not _fdopen()) for Interix in zutil.h [B�ck]
610+
- Use fdopen() (not _fdopen()) for Interix in zutil.h [Bäck]
568611
- Add some FAQ entries about the contrib directory
569612
- Update the MVS question in the FAQ
570613
- Avoid extraneous reads after EOF in gzio.c [Brown]
@@ -1178,7 +1221,7 @@ Changes in 1.0.6 (19 Jan 1998)
11781221
386 asm code replacing longest_match().
11791222
contrib/iostream/ by Kevin Ruland <[email protected]>
11801223
A C++ I/O streams interface to the zlib gz* functions
1181-
contrib/iostream2/ by Tyge L�vset <[email protected]>
1224+
contrib/iostream2/ by Tyge Løvset <[email protected]>
11821225
Another C++ I/O streams interface
11831226
contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <[email protected]>
11841227
A very simple tar.gz file extractor using zlib
@@ -1267,7 +1310,7 @@ Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
12671310
- fix array overlay in deflate.c which sometimes caused bad compressed data
12681311
- fix inflate bug with empty stored block
12691312
- fix MSDOS medium model which was broken in 0.99
1270-
- fix deflateParams() which could generated bad compressed data.
1313+
- fix deflateParams() which could generate bad compressed data.
12711314
- Bytef is define'd instead of typedef'ed (work around Borland bug)
12721315
- added an INDEX file
12731316
- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),

0 commit comments

Comments
 (0)