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

fake-static needs advisory #207

Closed
Shnatsel opened this issue Dec 12, 2019 · 0 comments · Fixed by #270
Closed

fake-static needs advisory #207

Shnatsel opened this issue Dec 12, 2019 · 0 comments · Fixed by #270

Comments

@Shnatsel
Copy link
Member

https://crates.io/crates/fake-static is created as a demonstration of a soundness bug in rustc that lets you invoke undefined behavior in safe code. The entire point of the code is to obtain use-after-free without writing unsafe. No production code should ever depend on this.

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

Successfully merging a pull request may close this issue.

1 participant