-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
vec_deque::Iter has unsound Debug implementation #53566
Comments
MaloJaffre
added a commit
to MaloJaffre/rust
that referenced
this issue
Aug 22, 2018
This was assigned CVE-2019-1010299. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Found by @MaloJaffre: The following code causes UB (not observable through crashes, but still):
This will create a
VecDeque
ring with capacity 8, then turn that into a slice forIter
, and then print that entire slice. Run it in Miri to see for yourself (Miri is in the "tools" menu).The text was updated successfully, but these errors were encountered: