Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

etemesi254/zune-image
dev @ 4362442
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Integer Overflow: 2 prior fixes. Scrutinize any change in this area.
crates/zune-hdr/src/decoder.rs: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Integer Overflow: An integer overflow during interlaced row index calculation can bypass safety checks, leading to out-of-bounds slicing and memory unsafety during PNG decoding.
Integer Overflow: Failing to safely multiply image dimensions and channel counts allows integer overflows to cause under-allocated memory buffers, triggering panic or memory corruption during HDR scanline decoding.