diff options
| author | EmptyChaos <EmptyChaos@users.noreply.github.com> | 2017-01-23 21:05:11 +0000 |
|---|---|---|
| committer | EmptyChaos <EmptyChaos@users.noreply.github.com> | 2017-01-24 08:05:11 +1100 |
| commit | 49873b1287a4690977be6e4d802b45f91ff639f3 (patch) | |
| tree | b6f7bc3d1d17e4b89dfbd8938bae6edd5ea03ae7 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | |
| parent | bd2881ff867fc9436bb206c46efa5bd015e00e23 (diff) | |
MMU/PatchEngine: Fix potential crash during stack probe
TryReadInstruction doesn't validate the address it resolves, that
can result in Memory::GetPointer failing and returning nullptr
which then leads to a nullptr dereference and a crash.
Created PowerPC::HostIsInstructionRAMAddress which works the same
way as PowerPC::HostIsRAMAddress for the IBAT.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
