Skip to content
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

RUSTSEC-2020-0023: Lifetime boundary for raw_slice and raw_slice_mut are incorrect #1

Closed
github-actions bot opened this issue Dec 22, 2020 · 3 comments

Comments

@github-actions
Copy link

Lifetime boundary for raw_slice and raw_slice_mut are incorrect

Details
Package rulinalg
Version 0.4.2
URL AtheMathmo/rulinalg#201
Date 2020-02-11
Unaffected versions <0.4.0

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.

See advisory page for additional details.

@ssalonen
Copy link
Owner

Used by imageproc image-rs/imageproc#426

@ssalonen
Copy link
Owner

ssalonen commented May 16, 2022

Commit 293e913 resolves this

$ cargo tree|grep rulinalg
// empty

@ssalonen
Copy link
Owner

ssalonen commented May 21, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant