cosmopolitan/third_party/zlib
2023-04-27 05:44:38 -07:00
..
gz Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
adler32.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
adler32simd.c Add Intel intrinsics headers 2023-04-27 05:44:38 -07:00
compress.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
crc32.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
deflate.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
deflate.internal.h Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
infback.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
inffast.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
inffast.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
inffixed.inc Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
inflate.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
inflate.internal.h Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
inftrees.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
inftrees.internal.h Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
insert_string.internal.h Fix MODE=opt build 2022-09-19 15:43:52 -07:00
internal.h Improve the cosmocc toolchain 2023-01-05 12:20:52 -08:00
LICENSE Initial import 2020-06-15 07:18:57 -07:00
macros.internal.h Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
README.cosmo Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
treeconst.c Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00
trees.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
trees.inc Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
uncompr.c Update a few remaining zlib source files 2022-10-03 19:24:02 -07:00
zconf.h Improve the cosmocc toolchain 2023-01-05 12:20:52 -08:00
zlib.h Fix important bugs in redbean 2022-09-17 02:18:06 -07:00
zlib.mk Make zlib go faster 2022-09-18 06:30:45 -07:00
zutil.c Fix bugs and make code tinier 2022-10-09 23:21:34 -07:00
zutil.internal.h Rename hidden keyword to _Hide 2022-11-08 12:55:28 -08:00

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

  - 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