-
Notifications
You must be signed in to change notification settings - Fork 17
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
Incorrect drop order for JoinedCell
#20
Comments
This is a soundness issue you can run into accidentally, hence yanking old versions seems absolutely necessary. |
What I find surprising is how this test case Line 331 in 5c05f54
|
Also one of those things you break during refactoring self_cell/src/unsafe_once_self_cell.rs Line 76 in cffd973
|
Regardless, thanks for reporting and fixing the serious bug! I will release v0.10 and yank all older versions once #21 is merged. |
Why not a point release of v0.9? This way users of 0.9.* don’t break; it’s a bugfix, so technically not really a breaking change, right?
I’m not entirely sure; indeed even Looking at https://crates.io/crates/self_cell/reverse_dependencies, opening a PR to https://crates.io/crates/bracket might be a reasonable idea (since they’re the only crates.io crate using I’ve never done such a thing, but maybe this broken drop order is a reasonable addition to https://rustsec.org/ as well. |
Regarding rustsec, never having done such a thing myself either, I wonder how applicable it is. I would assume that in practice it only shows up if a programmer writes code in certain way, not via malicious input. And given how relatively small this project still is. But I'm open to the idea. |
The text was updated successfully, but these errors were encountered: