diff options
author | NIEJuhu <niejuhu@xiaomi.com> | 2016-11-04 17:13:13 +0800 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2016-12-02 06:42:58 +0000 |
commit | 8708c80cde415d5baa640bbd17e1cab4ece601f8 (patch) | |
tree | 71153b7129a111f127b90ef285b08acfe6a7f520 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions