diff options
author | Jin Seok Park <jinpark@google.com> | 2018-10-04 13:26:01 +0900 |
---|---|---|
committer | Jin Seok Park <jinpark@google.com> | 2018-10-04 13:26:01 +0900 |
commit | 42d96ce87ce846b2c752f616f94ad37086f73433 (patch) | |
tree | a52e9c71abe0de413439651772d37aab472a8276 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b29199a6c1ac527687286e51d44b659a1fe010eb (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