-
Notifications
You must be signed in to change notification settings - Fork 490
Use ManuallyDrop in queues #184
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
Conversation
Will test. |
Looks good. Yank time? |
@c0gent Published v0.4.1 with this fix. |
Maybe I'm missing something, but shouldn't this now manually drop the values? Doesn't the current code leak values? |
@Thomasdezeeuw There are no leaks. Queue nodes (more precisely, |
@stjepang Ok thanks for the reply. |
Thanks for the quick resolution and the yank! This seems to be some kind of a memory safety issue, perhaps a use-after-free, and those are usually exploitable. Could you file this issue in the Rust security advisory database so that people who still have 0.4.0 in Cargo.lock could find out that they're using a vulnerable version and upgrade? |
@Shnatsel Reported: rustsec/advisory-db#75 |
This will hopefully fix crossbeam-rs/crossbeam-epoch#82