OSDN Git Service

ART: Check for duplicate class definitions in dex file verifier
authorAndreas Gampe <agampe@google.com>
Tue, 29 Jul 2014 08:22:07 +0000 (01:22 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 29 Jul 2014 23:24:39 +0000 (16:24 -0700)
commit5cac343e28fe28d4bc9ccc6db5cab38db1f2b59d
treee33615a878768ab768abce1e7d2242f22f295669
parenteaa6da1b8381bc7cb9076e90b7ec06812b9d0d2d
ART: Check for duplicate class definitions in dex file verifier

Reject dex files that try to define two classes with the same type id.

Bug: 16016492

(cherry picked from commit 0ba238dcc21ae3544e1e8cb5d108725db8a1c134)

Change-Id: Ie04a684b41b50313449b87c5c3574e89f800e254
runtime/dex_file_verifier.cc
runtime/dex_file_verifier.h