Skip to content
Commit 8708c80c authored by NIEJuhu's avatar NIEJuhu Committed by Sungsoo Lim
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.

Change-Id: Ief29936400f04636928df09e7f357cbf25345383
Signed-off-by: default avatarNIEJuhu <niejuhu@xiaomi.com>
parent 7dd90968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment