commit | 91119d69f0736f6dbd350c433632af2618c7575a | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Apr 18 11:18:56 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Apr 18 14:04:20 2017 -0700 |
tree | b38e77c02921bdf036809c6a102ebcefa39b5e89 | |
parent | 682282eaac86202652e17752ef32f14c89e2ccda [diff] |
fault_handler: use SafeCopy to decode x86 instruction length. Prevent a crash in the x86 fault handler when pc points to garbage and we try to figure out its instruction length. Bug: http://b/30836730 Test: m test-art-host Change-Id: Ic1fbb8856e30140f0e1ebc9caccf9559e88ff137