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

Commit dbe99b56 authored by NIEJuhu's avatar NIEJuhu Committed by Sungsoo
Browse files

ExifInterface: fix NegativeArraySizeException



The IFD entry has a 4-byte field COUNT. It is read as int type
and is used as array size by ExifInterface. If a crafted JPEG
file contains a negative value, a NegativeArraySizeException
occurs.

Test: passed ExifInterface CTS
Change-Id: Ief29936400f04636928df09e7f357cbf25345383
Signed-off-by: default avatarNIEJuhu <niejuhu@xiaomi.com>
parent f81894f4
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