commit | a4cd6779fc5fc73d84d5ca269b89a33064267cce | [log] [tgz] |
---|---|---|
author | Jeff Hao <jeffhao@google.com> | Thu Apr 13 14:36:29 2017 -0700 |
committer | Jeff Hao <jeffhao@google.com> | Thu Apr 13 14:43:13 2017 -0700 |
tree | fbfea67a5f6e284ec7b8dc3a2022d6f03579666f | |
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