diff options
| author | 2022-01-10 13:03:57 -0800 | |
|---|---|---|
| committer | 2022-01-11 17:04:41 +0000 | |
| commit | 6f572b7adbbfca19f978cb188f46fb8ad9d880de (patch) | |
| tree | 99cffbe02e9b6b1f69d5e8d43f20bf9e51698117 /compiler/common_compiler_test.cc | |
| parent | 14d071c03b3aea353e21bd9ccd4f89337c38bd76 (diff) | |
Fix out of range in art compiler.
We didn't check for zero offset before, and also we decremented by 4
INSTRUCTIONS rather than 4 bytes (= one instruction), because we
decremented the pointer of type Instruction*.
Test: run 550-checker-multiply-accumulate
fails without this change under flame_hwasan
passes with this change
Bug: 213931282
Change-Id: I51021e75de844b7126d503d562258887550430f8
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions