We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some lock_api lock guard objects can cause data races
lock_api
0.1.5
Affected versions of lock_api had unsound implementations of the Send or Sync traits for some guard objects, namely:
Send
Sync
These guards could allow data races through types that are not safe to Send across thread boundaries in safe Rust code.
This issue was fixed by changing the trait bounds on the Mapped guard types and removing the Sync trait for the RwLock guards.
Mapped
RwLock
See advisory page for additional details.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lock_api
0.1.5
Affected versions of lock_api had unsound implementations of the
Send
orSync
traits for some guard objects, namely:These guards could allow data races through types that are not safe to
Send
across thread boundaries in safe Rust code.
This issue was fixed by changing the trait bounds on the
Mapped
guard typesand removing the
Sync
trait for theRwLock
guards.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: