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

Fix UB in SpiralIterator::operator++ (backport #481) #489

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 28, 2024

Forward port of #479 to fix undefined behavior


This is an automatic backport of pull request #481 done by Mergify.

* Calling pop_back on an iterator past the end is UB

Signed-off-by: Ryan Friedman <[email protected]>
(cherry picked from commit 74dbbc8)
@Ryanf55 Ryanf55 merged commit 855a4ac into humble Nov 28, 2024
2 checks passed
@Ryanf55 Ryanf55 deleted the mergify/bp/humble/pr-481 branch November 28, 2024 03:29
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 this pull request may close these issues.

1 participant