cosmopolitan/third_party/zlib/README.cosmo

52 lines
1.6 KiB
Text
Raw Normal View History

DESCRIPTION
zlib implements the deflate compression algorithm
LICENSE
See LICENSE file
ORIGIN
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
To prevent timeouts when processing large inputs with small chunk sizes.
Bug: 1362206
Change-Id: Ie21ea48abf85ee49897243857bf84b0f32d24bd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3899099
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1048044}
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
2022-09-18 13:30:45 +00:00
- 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