-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API soundness issue in raw_slice
and raw_slice_mut
#201
Comments
Unfortunately, this crate is not being maintained anymore. As you can see, last commit was in 2017. I suggest you to switch to nalgebra if it fits your needs. |
Qwaz
added a commit
to Qwaz/advisory-db
that referenced
this issue
Jun 28, 2020
Shnatsel
added a commit
to rustsec/advisory-db
that referenced
this issue
Jul 5, 2020
Security advisory for AtheMathmo/rulinalg#201
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current definition of
raw_slice
andraw_slice_mut
creates'a
bounded reference from&self
. Since the returned slice is created from a stored pointer in&self
, it should be bounded by'self
lifetime instead of'a
.With the current definitions of those methods, it is possible to cause data race with safe Rust code.
The text was updated successfully, but these errors were encountered: