Skip to content

Commit

Permalink
Merge pull request #318 from Qwaz/failure-336
Browse files Browse the repository at this point in the history
Informational advisory for rust-lang-deprecated/failure#336
  • Loading branch information
Shnatsel committed Aug 14, 2020
2 parents 90624f4 + 7ba7751 commit 1837ccc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions crates/failure/RUSTSEC-0000-0000.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "failure"
date = "2019-11-13"
informational = "unsound"
title = "Type confusion if __private_get_type_id__ is overriden"
url = "https://github.com/rust-lang-nursery/failure/issues/336"
keywords = ["unsound"]
description = """
Safe Rust code can implement malfunctioning `__private_get_type_id__` and cause
type confusion when downcasting, which is an undefined behavior.
Users who derive `Fail` trait are not affected.
"""

[affected]
functions = { "failure::Fail::__private_get_type_id__" = [">= 0.1.0"] }

[versions]
patched = []

0 comments on commit 1837ccc

Please sign in to comment.