Security context

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

dropbox/rust-brotli
master @ 9651aa3
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
src/enc/command.rs: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Memory Corruption: Out-of-bounds distance calculation during encoder command restoration could allow memory corruption if input parameters violate expected bounds during Brotli compression. Developers must ensure distance calculations explicitly account for direct distance codes and properly initialize command states.