Update a few remaining zlib source files

This commit is contained in:
Justine Tunney 2022-10-03 19:18:34 -07:00
parent 32321ab1e9
commit 01bd7d1008
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
23 changed files with 1276 additions and 778 deletions

View file

@ -1,13 +1,19 @@
DESCRIPTION
zlib implements the deflate compression algorithm.
zlib implements the deflate compression algorithm
LICENSE
See LICENSE file
ORIGIN
https://chromium.googlesource.com/chromium/src/third_party/zlib
commit 8f22e90f007a7dd466b426513725c13191248315
Author: Hans Wennborg <hans@chromium.org>
Date: Fri Sep 16 16:14:51 2022 +0000
The zlib sources were obtained from Chromium's zlib fork.
https://chromium.googlesource.com/chromium/src/third_party/zlib
commit 8f22e90f007a7dd466b426513725c13191248315
Author: Hans Wennborg <hans@chromium.org>
Date: Fri Sep 16 16:14:51 2022 +0000
[zlib][fuzz] Cap the input size for zlib_inflate_with_header_fuzzer
@ -23,8 +29,23 @@ ORIGIN
NOKEYCHECK=True
GitOrigin-RevId: fd75b8c2768e7cc3a3e7a06bc563bb03c5ba0ec2
The source code for puff was obtained from zlib itself:
Origin: git@github.com:madler/zlib.git
Commit: 03614c56ad299f9b238c75aa1e66f0c08fc4fc8b
Author: Mark Adler <madler@alumni.caltech.edu>
Date: Sun Oct 30 08:36:13 2016 -0700
LOCAL CHANGES
- Changed Trace() calls to use kprintf()
- Use X86_HAVE() for runtime dispatching
- Changed Trace(stderr) calls to use kprintf()
- We use our own crc32() implementation from LIBC_STR
- Fix a Chromium Zlib regression where malloc() failures inside
deflateInit2() will result in a segmentation fault
- Provide THIRD_PARTY_ZLIB_GZ as a separate package, because it
can't work without malloc/stdio/etc. but the rest of zlib can