Security context

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

fitzgen/bumpalo
main @ 0db6ccb
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Memory Corruption: 2 prior fixes. Scrutinize any change in this area.
src/collections/string.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.

Memory Corruption: Panic-safety bug in String::retain could leave the string in an invalid UTF-8 state, leading to memory corruption; the fix uses a SetLenOnDrop guard to restore length on panic.
Memory Corruption: Integer overflow in round_up_to during alignment rounding could produce an undersized allocation, leading to out-of-bounds memory access; the fix adds overflow checks.