OSDN Git Service

ART: Fix read-out-of-bounds in the compiler
authorAndreas Gampe <agampe@google.com>
Wed, 27 Aug 2014 21:24:42 +0000 (14:24 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 27 Aug 2014 21:24:42 +0000 (14:24 -0700)
commitade731854d18839823e57fb2d3d67238c5467d15
tree2995b38a7642d85bc95b167d33e80d80c045c8d4
parentf59b605f82c0e2b7bfc6019ee7bd650628f50d3a
ART: Fix read-out-of-bounds in the compiler

In case of a wide dalvik register, asking for the constant value
can lead to a read out of bounds.

Bug: 17302671
Change-Id: Ie1849cd67cc418c97cbd7a8524f027f9b66e4c96
compiler/dex/mir_graph.h
compiler/dex/quick/codegen_util.cc