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

debug/express.cpp: Fix bad iterator comparison in postfix conversion. #12197

Merged
merged 1 commit into from Mar 31, 2024

Conversation

invertego
Copy link
Contributor

One iterator was being compared with another from the wrong container. I observed this by chance when I hit an assert in a debug MSVC build with checked iterators enabled. This bug could cause dereferencing of a past-the-end iterator in expressions ending with an operator.

One iterator was being compared with another from the wrong container.
I observed this by chance when I hit an assert in a debug MSVC build
with checked iterators enabled. This bug could cause dereferencing of a
past-the-end iterator in expressions ending with an operator.
@ajrhacker ajrhacker merged commit 04a2582 into mamedev:master Mar 31, 2024
5 checks passed
987123879113 pushed a commit to 987123879113/mame that referenced this pull request Apr 3, 2024
…mamedev#12197)

One iterator was being compared with another from the wrong container.
I observed this by chance when I hit an assert in a debug MSVC build
with checked iterators enabled. This bug could cause dereferencing of a
past-the-end iterator in expressions ending with an operator.
987123879113 pushed a commit to 987123879113/mame that referenced this pull request Apr 4, 2024
…mamedev#12197)

One iterator was being compared with another from the wrong container.
I observed this by chance when I hit an assert in a debug MSVC build
with checked iterators enabled. This bug could cause dereferencing of a
past-the-end iterator in expressions ending with an operator.
@invertego invertego deleted the express_iterator branch April 16, 2024 02:18
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.

None yet

2 participants