-
Notifications
You must be signed in to change notification settings - Fork 115
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
dereference-after-free in bitbox! macro, as per Miri #69
Comments
The stack trace shows that this is occurring during the That said, undefined behavior under Miri is a future avenue for miscompilation. Since the function in question is an internal implementation detail used only in one other site, I can freely remove the offending behavior. |
Thank you for the report! I will release |
Hi @myrrlyn. I agree with you that it is the destructor. Looks like I missed that somehow. I'm glad it is fixed easily. Thank you. |
Hello.
Looks like the macro
bitbox!
has a dereference after free bug.As of 293e670, if you run
with
cargo miri run -- -Zmiri-disable-stacked-borrows
``
Looks like it's not related to any of the active issues. I haven't gotten to thinking the security implications, but there might be some.
Thanks
~Yoshi
The text was updated successfully, but these errors were encountered: