commit | dbe99b56ec6a3ba0c7800e75265fd08127d13d71 | [log] [tgz] |
---|---|---|
author | NIEJuhu <niejuhu@xiaomi.com> | Fri Nov 04 17:13:13 2016 +0800 |
committer | Sungsoo <sungsoo@google.com> | Mon Dec 05 09:18:58 2016 +0900 |
tree | 303776eb718252ed690e665d8b70675852ffb680 | |
parent | f81894f4ae402e5ed679ecab956043b7d75a5d87 [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. Test: passed ExifInterface CTS Change-Id: Ief29936400f04636928df09e7f357cbf25345383 Signed-off-by: NIEJuhu <niejuhu@xiaomi.com>