From cdf5a460d8d2af14db5e368c28dfbbc6a34b17cb Mon Sep 17 00:00:00 2001 From: Shnatsel Date: Sun, 31 Jan 2021 00:46:34 +0000 Subject: [PATCH] Assigned RUSTSEC-2021-0016 to ms3d --- .duplicate-id-guard | 2 +- crates/ms3d/{RUSTSEC-0000-0000.md => RUSTSEC-2021-0016.md} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename crates/ms3d/{RUSTSEC-0000-0000.md => RUSTSEC-2021-0016.md} (96%) diff --git a/.duplicate-id-guard b/.duplicate-id-guard index 95cf2fc..8f3ce69 100644 --- a/.duplicate-id-guard +++ b/.duplicate-id-guard @@ -1,3 +1,3 @@ This file causes merge conflicts if two ID assignment jobs run concurrently. This prevents duplicate ID assignment due to a race between those jobs. -03b2146bc527a64a357406ac5dec149a114e38ed1ff589fee2404636b97bc213 - +4dc39db1aa41093a6d8d7f4e31fab287416f039f5c067b9fd6caa91c3144a281 - diff --git a/crates/ms3d/RUSTSEC-0000-0000.md b/crates/ms3d/RUSTSEC-2021-0016.md similarity index 96% rename from crates/ms3d/RUSTSEC-0000-0000.md rename to crates/ms3d/RUSTSEC-2021-0016.md index 967ccad..6ada2ac 100644 --- a/crates/ms3d/RUSTSEC-0000-0000.md +++ b/crates/ms3d/RUSTSEC-2021-0016.md @@ -1,6 +1,6 @@ ```toml [advisory] -id = "RUSTSEC-0000-0000" +id = "RUSTSEC-2021-0016" package = "ms3d" date = "2021-01-26" url = "https://github.com/andrewhickman/ms3d/issues/1" @@ -17,4 +17,4 @@ Affected versions of this crate passes an uninitialized buffer to a user-provide Arbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior. -The flaw was fixed in commit 599313b by zero-initializing the buffer (via `self.buf.resize(len, 0)`) before passing it to `Read`. \ No newline at end of file +The flaw was fixed in commit 599313b by zero-initializing the buffer (via `self.buf.resize(len, 0)`) before passing it to `Read`.