bite: Read on uninitialized memory (#593)

* bite: Read on uninitialized memory

* informational = "unsound"
This commit is contained in:
Youngsuk Kim
2021-08-21 21:08:46 -04:00
committed by GitHub
parent 68d6f5afa9
commit b4b68c19bc

View File

@@ -0,0 +1,18 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "bite"
date = "2020-12-31"
url = "https://github.com/hinaria/bite/issues/1"
categories = ["memory-exposure"]
informational = "unsound"
[versions]
patched = []
```
# `read` on uninitialized buffer may cause UB (bite::read::BiteReadExpandedExt::read_framed_max)
Affected versions of this crate calls a user provided `Read` implementation on an uninitialized buffer.
`Read` on uninitialized buffer is defined as undefined behavior in Rust.