Toolsslug: zlib-ngOfficial Website

zlib-ng

A zlib fork optimized for modern hardware, API-compatible with improved compression and decompression performance.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Open Source
58 pts
Zlib Release Builds Strip Overflow Assertion in compress_block

While building machine-checked Lean 4 safety proofs for zlib and zlib-ng, the authors found that the Assert guarding pending_buf overflow in trees.c compiles to whitespace in release builds, leaving compress_block, send_bits and put_byte with no bounds check. The finding is a real defect in widely deployed open-source infrastructure code, and the authors say they found several other bugs during verification, with full details to follow once upstream fixes land.