diff options
author | John Reck <jreck@google.com> | 2015-07-22 13:55:48 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-07-22 20:58:09 +0000 |
commit | c360bef7bcf98e0ae50461524f1ae08ee3a9c609 (patch) | |
tree | e06f856185dc3a5c4bdfe7e4fb245d5840bd82a9 /rs/java/android/renderscript/RenderScript.java | |
parent | 1aadfc2bc46a14b6c95dc45ec11c4191cac5062d (diff) |
Fix ATLAS_MAP_ENTRY_FIELD_COUNT
Bug: 22558805
Change a039182d6157bc0487df4ad8e373685c9dd7d662 reduced
the size of an entry from 4 fields to 3, but failed to
update the constant that determined the size of the java long[].
Because the long[] is blindly passed down through to native, this
will result in reading past the end of the array as the size
is no longer a multiple of the number of fields being read so
the loop will not terminate until 1 iteration past the end.
Change-Id: I2f8e26cec9a60b3a74739a3763203296be5f1fd6
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions