Security context

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

alexcrichton/futures-rs
main @ fece303
7
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Memory Corruption: 4 prior fixes. Scrutinize any change in this area.
futres-util/src/compat/compat01as03.rs: most-fixed (1 issue). Treat as high-risk during review.
7 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: Invalid raw-pointer cast in UnsafeFutureObj drop can corrupt memory when reconstructing the boxed future.
Memory Corruption: Undefined behavior converting &Self to *mut Self via Box::from_raw can lead to memory corruption.
Use-After-Free: Dropping the Pin<Box> while converting to raw pointer causes use-after-free.