Android 5.1.1 release 16
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlXweewACgkQ6K0/gZqxDnhRlwCeJ/cOgSi4jb/36InUsBi8PCQe
n8YAmwbs3ZWxXNW1HzfS4XsXQM6Bgo5C
=xuPX
-----END PGP SIGNATURE-----
Prevent integer overflow when allocating native_handle_t

User specified values of numInts and numFds can overflow
and cause malloc to allocate less than we expect, causing
heap corruption in subsequent operations on the allocation.

Bug: 19334482
Change-Id: I43c75f536ea4c08f14ca12ca6288660fd2d1ec55
1 file changed