Security context

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

alexcrichton/gcc-rs
main @ b1c1794
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
src/command_helpers.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.

Path Traversal: Source file names with parent directory components are joined into OUT_DIR without canonicalization, allowing object files to be written outside the intended directory.
Denial of Service: Calling set_len with capacity can expose uninitialized memory, leading to panics or crashes when that memory is read.