We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1794cae commit b4afb83Copy full SHA for b4afb83
crates/truetype/RUSTSEC-0000-0000.md
@@ -0,0 +1,22 @@
1
+```toml
2
+[advisory]
3
+id = "RUSTSEC-0000-0000"
4
+package = "truetype"
5
+date = "2021-02-17"
6
+url = "https://github.com/bodoni/truetype/issues/11"
7
+categories = ["memory-exposure"]
8
+
9
+[versions]
10
+patched = [">= 0.30.1"]
11
+```
12
13
+# Tape::take_bytes exposes uninitialized memory to a user-provided Read
14
15
+Affected versions of this crate passed an unininitialized buffer to a
16
+user-provided `Read` instance in `Tape::take_bytes`.
17
18
+This can result in safe `Read` implementations reading from the uninitialized
19
+buffer leading to undefined behavior.
20
21
+The flaw was corrected in commit `1f2dc7f37dd` by removing the unsafe block
22
+and zero-initializing the buffer.
0 commit comments