-
Notifications
You must be signed in to change notification settings - Fork 145
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
SmallVec::insert
is UB on large arguments
#343
Comments
The contract of
|
SmallVec::insert
is UBSmallVec::insert
is UB on large arguments
This is a regression from #282. It affects versions |
FYI, given the UB, I've opened an issue to file a security advisory for this: rustsec/advisory-db#1960. There are more than 30k crates that transitively depend on |
This example fails in miri, you can try it on the Playground:
The text was updated successfully, but these errors were encountered: