-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Fix for integer overflow in BinaryHeap for ZSTs #149451
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
base: main
Are you sure you want to change the base?
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some suggestions rephrasing comments, but with that this is looking good.
If you could then squash the commits, I think it will be ready to go.
66c47bb to
0edddd2
Compare
Fixes #149448
This PR fixes a potential integer overflow while calculating the children of a node for a BinaryHeap for zero sized types.