summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
diff options
context:
space:
mode:
authorEmptyChaos <EmptyChaos@users.noreply.github.com>2017-01-23 21:05:11 +0000
committerEmptyChaos <EmptyChaos@users.noreply.github.com>2017-01-24 08:05:11 +1100
commit49873b1287a4690977be6e4d802b45f91ff639f3 (patch)
treeb6f7bc3d1d17e4b89dfbd8938bae6edd5ea03ae7 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
parentbd2881ff867fc9436bb206c46efa5bd015e00e23 (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