Skip to content

Conversation

tlindner
Copy link
Member

@tlindner tlindner commented Oct 2, 2025

Memdump will now properly report overlapping views.

@rb6502 rb6502 merged commit 50c4514 into mamedev:master Oct 13, 2025
2 of 7 checks passed
Comment on lines +116 to +118
while((handle == m_dispatch_array[i][k]) && (k < BITMASK)) {
k++;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even safe? It looks like it has the potential to read off the end of a single-element array. The same thing happens further down. These sorts of “decrement counter after the loop” things are fertile ground for bugs.

@galibert have you looked at this PR?

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.

4 participants