Highlights
Memory Safety: 2 prior fixes. Scrutinize any change in this area.
src/lib.rs: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Memory Safety: Unsafe pointer-arithmetic loops during DEFLATE stream inflation allowed direct offset manipulation, risking out-of-bounds memory access and memory corruption. Safe indexing must be prioritized over raw pointer offsets.
Memory Safety: Prematurely invoking 'set_len' on a buffer with an invalid run length can expose uninitialized memory. An early exit or strict length check must precede any manual buffer length modification.