mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix crash in MIPSStackWalk
This commit is contained in:
parent
8f96ec371e
commit
ff907bd523
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@ namespace MIPSStackWalk {
|
|||
stop = PSP_GetScratchpadMemoryBase();
|
||||
}
|
||||
}
|
||||
|
||||
if (!Memory::IsValidAddress(start)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stop < start - LONGEST_FUNCTION) {
|
||||
stop = start - LONGEST_FUNCTION;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue