diff options
author | avignate <aleksey.v.ignatenko@intel.com> | 2014-09-17 22:35:07 +0700 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2014-09-30 07:33:16 -0700 |
commit | db7239ccce7748f2b494fb3b91c128b37019a093 (patch) | |
tree | e4237afbb576588ee6be0003de2ea6f10cd469b5 /test/ProfileTestMultiDex/Main.java | |
parent | 6d031046eeb5e9f62b657df0695b752e1d0aa583 (diff) |
ART: Overflow of bound check in ArrayCopy intrinsic
System.arraycopy method is implemented as intrinsic on x86. It has
bound check which has a bug to overflow in certain conditions
when summ of array offset and number elements to be copied are
more than MAX_INT. For the methods like CarArrayBuffer.get it
means no OutOfBound exception to be thrown. The proposed
solution fixed that.
b/17711775
Signed-off-by: avignate <aleksey.v.ignatenko@intel.com>
(cherry picked from commit f9f0ed401f7fe4138a71b36719423b908a3b7bfb)
Change-Id: I1d4ca900df262d483a94ebea8fa686ea361772c8
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions