Hacker News AIT2·Open Source
58 pts
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.