summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2018-10-04 13:26:01 +0900
committerJin Seok Park <jinpark@google.com>2018-10-04 13:26:01 +0900
commit42d96ce87ce846b2c752f616f94ad37086f73433 (patch)
treea52e9c71abe0de413439651772d37aab472a8276 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb29199a6c1ac527687286e51d44b659a1fe010eb (diff)
ExifInterface: Fix checking possible overflow
Currently, in order to prevent overflow when retrieving thumbnail image, ExifInterface checks if the given thumbnail offset + thumbnail length value is greater than the length of the file. Instead of using available(), which may require rewinding the file to the beginning, this CL creates a getter method for the length of the file. Test: Run cts Change-Id: Ic6f9cd4d0f1a075493c393ce3eacc832a79a99ee
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions