mirror of
https://github.com/rustsec/advisory-db.git
synced 2025-12-27 01:54:07 -05: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.
769 B
769 B
[advisory]
id = "RUSTSEC-2020-0023"
package = "rulinalg"
date = "2020-02-11"
url = "https://github.com/AtheMathmo/rulinalg/issues/201"
[affected.functions]
"rulinalg::matrix::RowMut::raw_slice" = [">= 0.4.0"]
"rulinalg::matrix::RowMut::raw_slice_mut" = [">= 0.4.0"]
[versions]
patched = []
unaffected = ["< 0.4.0"]
Lifetime boundary for raw_slice and raw_slice_mut are incorrect
The affected version of rulinalg has incorrect lifetime boundary definitions
for RowMut::raw_slice and RowMut::raw_slice_mut. They do not conform with
Rust's borrowing rule and allows the user to create multiple mutable references
to the same location. This may result in unexpected calculation result and data
race if both references are used at the same time.