Skip to content

Commit ace2be3

Browse files
authored
add linked-hash-map unsoundness (#316)
1 parent c34d120 commit ace2be3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "linked-hash-map"
4+
date = "2020-06-23"
5+
informational = "unsound"
6+
7+
title = "linked-hash-map creates uninitialized NonNull pointer"
8+
url = "https://github.com/contain-rs/linked-hash-map/pull/100"
9+
10+
description = """
11+
Affected versions of this crate called `mem::uninitialized()` to create a `NonNull<T>`,
12+
which is undefined behavior.
13+
14+
The flaw was corrected by avoiding the use of `mem::uninitialized()`.
15+
"""
16+
17+
[versions]
18+
patched = [">= 0.5.3"]

0 commit comments

Comments
 (0)