mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-18 17:35:09 +01:00
As proposed in #240 and tracked in #414, this PR translates all advisories into the new "V3" advisory format, which is based on Markdown with leading TOML front matter. This format makes it easier to see rendered Markdown syntax descriptions, whether rendered by an IDE or GitHub. This should help with both crafting advisories initially as well as review, and ideally encourages more lengthy descriptions. Support for this format shipped in `cargo-audit` v0.12.0 on May 6th, 2020.
16 lines
464 B
Markdown
16 lines
464 B
Markdown
```toml
|
|
[advisory]
|
|
id = "RUSTSEC-2020-0033"
|
|
package = "alg_ds"
|
|
date = "2020-08-25"
|
|
url = "https://gitlab.com/dvshapkin/alg-ds/-/issues/1"
|
|
|
|
[versions]
|
|
patched = []
|
|
```
|
|
|
|
# Matrix::new() drops uninitialized memory
|
|
|
|
`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.
|