-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Description
We recently re-discovered rust-lang/rust#60977 and rust-lang/rust#78498 in abi_stable crate. While investigating, we found a few more interesting bugs in the Rust issue tracker. I believe these bugs need advisories; I'll leave the list here so that someone else can look into them and file an advisory.
These are memory safety/soundness bugs in stable APIs.
- VecDeque: length 0 underflow and bogus values from pop_front(), triggered by a certain sequence of reserve(), push_back(), make_contiguous(), pop_front() rust-lang/rust#79808
- String::retain allows safely creating invalid (non-utf8) strings when abusing panic rust-lang/rust#78498
These are bugs in unstable APIs, so probably no advisory is needed. (But they are still quite interesting bugs!)
ShnatselShnatsel and hdhoang
Metadata
Metadata
Assignees
Labels
No labels