mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Fix crash in MIPSStackWalk
This commit is contained in:
1 parent
8f96ec371e
commit
ff907bd523
1 file changed
+5
@@ -94,6 +94,11 @@ namespace MIPSStackWalk {
|
||||
stop = PSP_GetScratchpadMemoryBase();
|
||||
}
|
||||
}
|
||||
|
||||
if (!Memory::IsValidAddress(start)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stop < start - LONGEST_FUNCTION) {
|
||||
stop = start - LONGEST_FUNCTION;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user