diff options
author | Henrik Engström <henrik.engstrom@sonymobile.com> | 2012-11-29 15:29:35 +0100 |
---|---|---|
committer | Henrik Baard <henrik.baard@sonymobile.com> | 2013-01-09 09:27:59 +0100 |
commit | 6393b07134f99ee827ebac2d339b0f5449addb0b (patch) | |
tree | 72c0b5051d567085049635f8ad023855ec981b49 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 9fae2ecc5fb777230bde74e4a099fb4e98bf34b4 (diff) |
Fix possible integer overflow in MtpStorage
When converting the MB value MtpReserveSpace value to bytes there is a
possible integer overflow since 3 integer values are multiplied, even
though the result is stored in a long variable. This would be visible when
the value is more than 2 GB. This is solved by making the constants
longs instead of ints.
Change-Id: I799129f7076a6e331cece17b5c05aed210499648
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions