Security context

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

onetrueawk/awk
master @ 5739fd7
6
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Memory Corruption: 4 prior fixes. Scrutinize any change in this area.
b.c: most-fixed (2 issues). Treat as high-risk during review.
4 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 write in DFA gototab table when processing HAT anchor token; a missing bounds check on index allowed corruption.
Buffer Overflow: substr used byte length instead of UTF-8 character length, causing out-of-bounds writes when slicing strings.
Memory Corruption: Regex state transition table array too small for caret (^) handling, leading to out-of-bounds write.