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

iEYEABECAAYFAlXwucIACgkQ6K0/gZqxDniZSACeNWo1fEGkoYO6NPWXq7AcbNz0
Q7MAoI99mjfsLHiALWtK+VeM7BlrW2Ra
=K7tI
-----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