From 7df92198c8282860f48c9e6a487bd43442177363 Mon Sep 17 00:00:00 2001 From: Yechan Bae Date: Tue, 25 Aug 2020 17:05:50 -0400 Subject: [PATCH] Initial report for 0007-alg_ds --- crates/alg_ds/RUSTSEC-0000-0000.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 crates/alg_ds/RUSTSEC-0000-0000.toml diff --git a/crates/alg_ds/RUSTSEC-0000-0000.toml b/crates/alg_ds/RUSTSEC-0000-0000.toml new file mode 100644 index 0000000..6c3a7e3 --- /dev/null +++ b/crates/alg_ds/RUSTSEC-0000-0000.toml @@ -0,0 +1,13 @@ +[advisory] +id = "RUSTSEC-0000-0000" +package = "alg_ds" +date = "2020-08-25" +title = "Matrix::new() drops uninitialized memory" +url = "https://gitlab.com/dvshapkin/alg-ds/-/issues/1" +description = """ +`Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer. +This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct. +""" + +[versions] +patched = []