Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08307 Crash/Freeze Critical (emulator) Always Apr 26, 2022, 22:01 Apr 28, 2022, 22:41
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To R. Belmont Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver konmedal68k.cpp
Version 0.242 Fixed in Version 0.244 Build Debug
Fixed in Git Commit 082bb57 Github Pull Request #
Summary 08307: spcpokan: [debug] Assertion failed
Description
Assertion failed: index < m_length, file R:/mame/src/emu/devfind.h, line 1073
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version 0.227
Affected Sets / Systems spcpokan
Attached Files
 
Relationships
related to 08308ResolvedRobbbert  mk98: [debug] Assertion failed 
Notes
1
User avatar
No.20098
Robbbert
Developer
Apr 28, 2022, 07:12
At line 123 of konmedal68k.cpp, change offset to offset & 0x1ffffe.
It's obvious from the code that bit 0 should never be set, but there's no protection if it is.
So, when it = 0x1fffff, it causes a buffer overflow.
Perhaps bit 0 is meant to fix the bad gfx in this game.
@arbee ? your thoughts?