WinUAE
WinUAE copied to clipboard
debugmem.cpp@branch_stack_push can overflow
stackframecnt
and stackframecntsuper
are not checked against MAX_STACKFRAMES
. Had a case where it overflowed, corrupted the heap and crashed WinUAE.
Whats the best option? Do nothing (+log warning message?) if limit reached?
Hmm.. dunno. maybe warn once + disable stackframes altogether. at this point there's probably some infinite loop going on anyway.
Fixed in 4.10