New issue
Advanced search Search tips

Issue 691075 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocked on:
issue 691074



Sign in to add a comment

Upgrade zlib to 1.2.11

Project Member Reported by mark@chromium.org, Feb 10 2017

Issue description

We’re at zlib 1.2.8. zlib 1.2.11 was released on 2017-01-15.
 

Comment 1 by mark@chromium.org, Feb 10 2017

Status: Started (was: Assigned)
https://codereview.chromium.org/2690623003
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6d9a6251dfe87183075dc16cfa134e41dc4cee0d

commit 6d9a6251dfe87183075dc16cfa134e41dc4cee0d
Author: mark <mark@chromium.org>
Date: Wed Feb 15 06:15:29 2017

Update zlib to 1.2.11

Reapply and regenerate all local patches to upstream zlib 1.2.11

Explicitly specify 9 as the minimum windowBits value (representing a
512-byte window) during compression in net/websockets even when 8
(representing 256) is received. This was previously silently done during
compression. Because of how zlib's deflate is implemented, when
windowBits is 9, it will produce a stream that can be decompressed with
a 250-byte or larger window.

Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
- Improve contrib/blast to return unused bytes
- Assure that gzoffset() is correct when appending
- Improve compress() and uncompress() to support large lengths
- Fix bug in test/example.c where error code not saved
- Remedy Coverity warning [Randers-Pehrson]
- Improve speed of gzprintf() in transparent mode
- Fix inflateInit2() bug when windowBits is 16 or 32
- Change DEBUG macro to ZLIB_DEBUG
- Avoid uninitialized access by gzclose_w()
- Allow building zlib outside of the source directory
- Fix bug that accepted invalid zlib header when windowBits is zero
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
- Add --warn (-w) option to ./configure for more compiler warnings
- Reject a window size of 256 bytes if not using the zlib wrapper
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
- Fix bugs in creating a very large gzip header
- Add uncompress2() function, which returns the input size used
- Assure that deflateParams() will not switch functions mid-block
- Dramatically speed up deflation for level 0 (storing)
- Add gzfread(), duplicating the interface of fread()
- Add gzfwrite(), duplicating the interface of fwrite()
- Add deflateGetDictionary() function
- Use snprintf() for later versions of Microsoft C
- Fix *Init macros to use z_ prefix when requested
- Replace as400 with os400 for OS/400 support [Monnerat]
- Add crc32_z() and adler32_z() functions with size_t lengths
- Update Visual Studio project files [AraHaan]

Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
- Fix bug in gzwrite.c that produced corrupt gzip files
- Remove files to be installed before copying them in Makefile.in
- Add warnings when compiling with assembler code

Changes in 1.2.11 (15 Jan 2017)
- Fix deflate stored bug when pulling last block from window
- Permit immediate deflateParams changes before any deflate input

BUG= 691074 ,  691075 

Review-Url: https://codereview.chromium.org/2690623003
Cr-Commit-Position: refs/heads/master@{#450585}

[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/net/websockets/websocket_deflater.cc
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/BUILD.gn
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/LICENSE
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/README.chromium
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/adler32.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/compress.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/contrib/minizip/iowin32.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/contrib/minizip/unzip.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/contrib/minizip/zip.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/crc32.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/deflate.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/deflate.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/google.patch
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/gzguts.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/gzlib.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/gzread.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/gzwrite.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/infback.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/inffast.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/inflate.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/inflate.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/inftrees.c
[delete] https://crrev.com/48cea90831e2f0d14d98bfc9d27d953fe3c1c1a5/third_party/zlib/mozzconf.h
[add] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/names.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/simd.patch
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/simd_stub.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/trees.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/uncompr.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/x86.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/zconf.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/zlib.h
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/zutil.c
[modify] https://crrev.com/6d9a6251dfe87183075dc16cfa134e41dc4cee0d/third_party/zlib/zutil.h

Comment 3 by mark@chromium.org, Feb 15 2017

Status: Fixed (was: Started)

Sign in to add a comment