OSDN Git Service

ART: Fix verifier mishandling erroneous array component types
authorAndreas Gampe <agampe@google.com>
Thu, 31 Jul 2014 01:59:05 +0000 (18:59 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 31 Jul 2014 03:43:32 +0000 (20:43 -0700)
commitb99b8d6cffe08d8c9d30175c936e5c88d3101802
tree7d25cd42c8813cea894ac42c6fa929371487477a
parent6bff7130878128c9836a21ae58d0cfdb0075b1b5
ART: Fix verifier mishandling erroneous array component types

The verifier must not assume that component types are not erroneous.

Bug: 16661259

(cherry picked from commit aa910d5ef43256102809e397de305c23f1c315e6)

Change-Id: I6d607310593ac337616581bfdff5eb29a8dd1b9d
compiler/dex/quick/gen_common.cc
runtime/mirror/dex_cache-inl.h
runtime/mirror/dex_cache.h
runtime/verifier/reg_type_cache.cc
runtime/verifier/reg_type_cache.h