libz sync with develop branch, discussed with deraadt
authortb <tb@openbsd.org>
Sat, 18 Nov 2023 22:43:25 +0000 (22:43 +0000)
committertb <tb@openbsd.org>
Sat, 18 Nov 2023 22:43:25 +0000 (22:43 +0000)
commit62a6fda735da47fbe45d938a823cd676d7e0b71d
treee0d132bb69f79871a8e775d5ffbcdf47e6204bca
parentb0b511c0b490f43041ffa8cb2f90c4950edbede4
libz sync with develop branch, discussed with deraadt

Apart from cosmetics, this includes the following commits:

Add LIT_MEM define to use more memory for a small deflate speedup.

A bug fix in zlib 1.2.12 resulted in a slight slowdown (1-2%) of
deflate. This commit provides the option to #define LIT_MEM, which
uses more memory to reverse most of that slowdown. The memory for
the pending buffer and symbol buffers is increased by 25%, which
increases the total memory usage with the default parameters by
about 6%.

https://github.com/madler/zlib/commit/ac8f12c97d1afd9bafa9c710f827d40a407d3266

Fix bug in inflateSync() for data held in bit buffer.

https://github.com/madler/zlib/commit/5af7cef45eeef86ddf6ab00b4e363c1eecaf47b6
lib/libz/ChangeLog
lib/libz/README
lib/libz/deflate.c
lib/libz/deflate.h
lib/libz/inflate.c
lib/libz/inftrees.c
lib/libz/inftrees.h
lib/libz/trees.c
lib/libz/zlib.h