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-0136: CopyCell lacks bounds on its Send trait allowing for data races #2

Open
github-actions bot opened this issue Feb 14, 2021 · 0 comments

Comments

@github-actions
Copy link

CopyCell lacks bounds on its Send trait allowing for data races

Details
Package toolshed
Version 0.6.3
URL ratel-rust/toolshed#12
Date 2020-11-15

CopyCell<T> is a Cell-like type that is implemented for any type T that
is Copyable. It's Send trait has no bounds on the contained type.

As not all Copyable types are thread safe, for example non-mutable references
implement the Copy trait, it is possible to send references to types with
interior mutability such as Cell across threads and cause data races.

See advisory page for additional details.

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

0 participants