commit | d142df535d42b6927bcdb864d64fb5ef439da94e | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Feb 17 10:16:15 2010 -0800 |
committer | Kenny Root <kroot@google.com> | Wed Feb 17 10:16:15 2010 -0800 |
tree | 1262d3ed8c46d54fead68e731219cd4ce9dd03c9 | |
parent | a4437fc93a993c7ab326b592d22c05be2f11b543 [diff] |
Prevent sign extension in IccUtils.parseToRGB When a signed byte value is taken from an array, make sure to truncate it so it doesn't have a problem when it's sign extended to 32-bit. Change-Id: Ic2b35c317e21c63dff960501145a4f3074b687ad