mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
24 lines
809 B
TOML
24 lines
809 B
TOML
[advisory]
|
|
id = "RUSTSEC-2020-0023"
|
|
package = "rulinalg"
|
|
date = "2020-02-11"
|
|
title = "Lifetime boundary for `raw_slice` and `raw_slice_mut` are incorrect"
|
|
url = "https://github.com/AtheMathmo/rulinalg/issues/201"
|
|
description = """
|
|
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.
|
|
"""
|
|
|
|
[affected]
|
|
|
|
[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"]
|