Security context

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

chronotope/chrono
main @ 3ffcd1b
3
Fixes
0
CVEs
MEDIUM
Peak severity
33.3%
Coverage
Highlights
Denial of Service: 3 prior fixes. Scrutinize any change in this area.
src/offset/local/tz_info/rule.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.

Denial of Service: Integer overflows during local time offset calculations can crash applications. Using wrapping addition instead of saturating or checked math allowed overflow panics in production code.
Denial of Service: Parsing TZ strings with out-of-bounds hours (such as 24) triggers panics during the creation of FixedOffset. Strict input range validation must be enforced before constructing offsets.
Denial of Service: Platform-specific local timezone offset lookup on Windows can trigger integer overflows during offset conversion, requiring checked multiplication and addition.