Vishwath Mohan 6a2c23dc1b Prevent integer overflow in ResourceTypes
Adds checks to 2 malloc() calls to ensure that the finally allocated
buffer size is not vulnerable to integer overflows. Also includes a
sanity check on the upper bound for type_info.numEntries before each
call.

Bug: 15171384
Change-Id: Ifdf0276bcca7e3d93da7c3577b9486d3c03a9d03
2015-03-10 12:34:08 -07:00
2015-03-06 16:14:50 +00:00
2015-03-05 13:56:16 -08:00
2015-03-05 13:56:16 -08:00
2015-03-02 07:07:05 -08:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%