Hello --
I've updated the copy of zlib in Phobos.
Here's a reprinting of the big-ticket items from the zlib.net homepage:
Version 1.2.12 has these key improvements over 1.2.11:
* Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
* Fix a deflate bug when the window is full in deflate_stored().
* Speed up CRC-32 computations by a factor of 1.5 to 3.
* Use the hardware CRC-32 instruction on ARMv8 processors.
* Speed up crc32_combine() with powers of x tables.
* Add crc32_combine_gen() and crc32_combine_op() for fast combines.
Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.
Also maintains the fix from here:
https://github.com/ibara/phobos/commit/1b6cf80232f19e581f72869a4b339580416dd72d
Everything appears OK on my OpenBSD/amd64 machine. But perhaps more testing from others is in order.
Comment #1 by dlang-bot — 2022-04-09T19:49:02Z
@ibara updated dlang/phobos pull request #8428 "Fix Issue 22998 - Update to zlib 1.2.12" fixing this issue:
- Fix Issue 22998 - Update to zlib 1.2.12
Update zlib to the 1.2.12 release
Version 1.2.12 has these key improvements over 1.2.11:
* Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
* Fix a deflate bug when the window is full in deflate_stored().
* Speed up CRC-32 computations by a factor of 1.5 to 3.
* Use the hardware CRC-32 instruction on ARMv8 processors.
* Speed up crc32_combine() with powers of x tables.
* Add crc32_combine_gen() and crc32_combine_op() for fast combines.
Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.
https://github.com/dlang/phobos/pull/8428
Comment #2 by dlang-bot — 2022-04-10T15:45:09Z
dlang/phobos pull request #8428 "Fix Issue 22998 - Update to zlib 1.2.12" was merged into master:
- 3b16b03f6d1ab1dfb823510400987679d94bb4d4 by Brian Callahan:
Fix Issue 22998 - Update to zlib 1.2.12
Update zlib to the 1.2.12 release
Version 1.2.12 has these key improvements over 1.2.11:
* Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses.
* Fix a deflate bug when the window is full in deflate_stored().
* Speed up CRC-32 computations by a factor of 1.5 to 3.
* Use the hardware CRC-32 instruction on ARMv8 processors.
* Speed up crc32_combine() with powers of x tables.
* Add crc32_combine_gen() and crc32_combine_op() for fast combines.
Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12.
https://github.com/dlang/phobos/pull/8428