2 matches found
Aliasing violations in splice, mutable iteration and cursors
Four code paths create a pointer whose permission is later revoked, then write through it. Miri reports each as undefined behaviour under both the Tree Borrows and Stacked Borrows aliasing models CWE-758. All four are reachable from safe code with standard Ord types. 1. Splice back-pointer...
GHSA-3632-54Q8-M96X arenavec has multiple memory corruption vulnerabilities in safe APIs
The crate has the following vulnerabilities: - The public trait arenavec::common::AllocHandle allows the return of raw pointers through its methods allocate and allocateorextend. However, the trait is not marked as unsafe, meaning users of the crate may implement it under the assumption that the...