diff options
author | Mathieu Chartier <mathieuc@google.com> | 2018-02-06 18:27:38 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2018-02-07 11:29:09 -0800 |
commit | 700a9851eb3271c00c537a865d74f2fe38419584 (patch) | |
tree | 8b6c0c0c95df62937eacb61285c4841f91b19209 /compiler/optimizing/graph_visualizer.cc | |
parent | 5168173dd6e79341b4b1f0a349721a2c7aa2a846 (diff) |
Fix potential null read for truncated dex files
In the case where a dex file is truncated, don't attempt to read the
header.
Added regression test.
Bug: 63756964
Bug: 72826975
Test: mm test-art-host-gtest-dex2oat_test -j64
Test: mm test-art-target-gtest-dex2oat_test -j64
Change-Id: I9bd6bb445ef2eb1c961044f43ac71f04ef8c04a5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions