Security context

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

rust-embedded/embedded-hal
master @ 41f29f6
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Memory Safety: 1 prior fix. Scrutinize any change in this area.
src/can/id.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 Safety: Constructors that instantiate structures from raw, unchecked integers can break structural invariants, allowing safe Rust code to trigger undefined behavior. Reverting these to 'unsafe' enforces that callers must manually guarantee validity of raw CAN IDs.