Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42d96ce8 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

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
parent b29199a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment