diff options
author | Jeff Hao <jeffhao@google.com> | 2017-04-13 14:36:29 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2017-04-13 14:43:13 -0700 |
commit | a4cd6779fc5fc73d84d5ca269b89a33064267cce (patch) | |
tree | fbfea67a5f6e284ec7b8dc3a2022d6f03579666f /compiler/optimizing/graph_visualizer.cc | |
parent | ce121a5fe3e537872af077c801443be9a525859b (diff) |
Add check that map offset is sane to DexFile object init.
The DexFile constructor calls InitializeSectionsFromMapList, which
uses the header's map_offset before any checks are done on the file.
Bug: 37235346
Test: mm test-art-host-gtest-dex_file_test
Change-Id: I4fb8fcb57f9ef7e0182965b7ce663424b953abcb
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions