-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #609 from JOE1994/0078-abi_stable
abi_stable: Update unsound DrainFilter and RString::retain
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
```toml | ||
[advisory] | ||
id = "RUSTSEC-0000-0000" | ||
package = "abi_stable" | ||
date = "2020-12-21" | ||
url = "https://github.com/rodrimati1992/abi_stable_crates/issues/44" | ||
categories = ["memory-corruption"] | ||
|
||
[versions] | ||
patched = [">= 0.9.1"] | ||
``` | ||
|
||
# Update unsound DrainFilter and RString::retain | ||
|
||
Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust#60977 (double drop) & rust-lang/rust#78498 (create invalid utf-8 string). | ||
|
||
The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library. |