OSDN Git Service

ART: Avoid obvious segfault in arm & x86 fault handler
authorAndreas Gampe <agampe@google.com>
Fri, 3 Apr 2015 09:17:06 +0000 (02:17 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 3 Apr 2015 09:23:35 +0000 (02:23 -0700)
commit9415886d879a7459ee9a3c6613f1a2687c87f08a
tree952b7416c50261309e78a6ae853f2536271a6357
parenta68a7cf8f3a6fef22d71a14350176115cb13857f
ART: Avoid obvious segfault in arm & x86 fault handler

These handlers need to read an instruction to determine where to
look for info. Don't try to read from pc=0.

Bug: 20040863
Change-Id: I38b56dc6dd806df22e608ee8d46c4091a738e4bc
runtime/arch/arm/fault_handler_arm.cc
runtime/arch/x86/fault_handler_x86.cc