commit | 74ae47a0590feceea31a2388f98c83e3ec0df0ec | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Sun Sep 07 13:06:12 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Sep 08 12:12:59 2014 -0700 |
tree | 9ed11a4b2a6c807a032c9090e2e42347ce77e887 | |
parent | b100ff4f21e034172be9669b18851829bb51e567 [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 Change-Id: Ie4ed8bbda79f3f6403a24e727450a943447aa71d