diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-10-27 09:42:46 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-10-30 16:12:55 -0700 |
commit | af7c9028905ccc0bb876e07dbe06921a80be9ebd (patch) | |
tree | 53d7b80fb299e0a34b9951610740935f6f3ca802 /compiler/optimizing/code_generator.cc | |
parent | 460e09c5a5a09937825fe101d260d5c917144369 (diff) |
Fix DexInstructionIterator overrun bug
Handle cases where the dex instructions can go past the end of the
code item in dexlayout.
Since dexlayout runs before method verification, we need to be
careful to not go past the end of the code item.
Added test.
Bug: 67104794
Test: test-art-host
Change-Id: Idf7d51344659b2c75207bdf444e39f271feb8d3a
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions