Skip to content

Commit fb8d644

Browse files
authored
Merge pull request #319 from Qwaz/rulinalg-201
Security advisory for AtheMathmo/rulinalg#201
2 parents c649f53 + 49fcc50 commit fb8d644

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "rulinalg"
4+
date = "2020-02-11"
5+
title = "Lifetime boundary for `raw_slice` and `raw_slice_mut` are incorrect"
6+
url = "https://github.com/AtheMathmo/rulinalg/issues/201"
7+
description = """
8+
The affected version of `rulinalg` has incorrect lifetime boundary definitions
9+
for `RowMut::raw_slice` and `RowMut::raw_slice_mut`. They do not conform with
10+
Rust's borrowing rule and allows the user to create multiple mutable references
11+
to the same location. This may result in unexpected calculation result and data
12+
race if both references are used at the same time.
13+
"""
14+
15+
[affected]
16+
17+
[affected.functions]
18+
"rulinalg::matrix::RowMut::raw_slice" = [">= 0.4.0"]
19+
"rulinalg::matrix::RowMut::raw_slice_mut" = [">= 0.4.0"]
20+
21+
[versions]
22+
patched = []
23+
unaffected = ["< 0.4.0"]

0 commit comments

Comments
 (0)