diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-07 13:06:12 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-08 22:08:53 -0700 |
commit | 376fa68f02d1cd56e506533a3ad16de4de88271d (patch) | |
tree | 9a462043cdacba41c96c6a1ee3c8ba08f904318b /compiler/optimizing/graph_visualizer.h | |
parent | ed20a4d80bcd8d47b5bcdd51ef17c786c0e5015c (diff) |
ART: Fix unchecked register index validity
The static check of index validity is against the type given by
the instruction, e.g., boolean for SPUT_BOOLEAN, but the target_type
is the resolved field type and can differ. An additional check is
necessary to avoid a read out of bounds.
Bug: 17411109
(cherry picked from commit 74ae47a0590feceea31a2388f98c83e3ec0df0ec)
Change-Id: Ie4ed8bbda79f3f6403a24e727450a943447aa71d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions