commit | 8708c80cde415d5baa640bbd17e1cab4ece601f8 | [log] [tgz] |
---|---|---|
author | NIEJuhu <niejuhu@xiaomi.com> | Fri Nov 04 17:13:13 2016 +0800 |
committer | Sungsoo Lim <sungsoo@google.com> | Fri Dec 02 06:42:58 2016 +0000 |
tree | 71153b7129a111f127b90ef285b08acfe6a7f520 | |
parent | 7dd909684f69595f72a366928a151841e5833cac [diff] |
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: NIEJuhu <niejuhu@xiaomi.com>