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

iEYEABECAAYFAlXvetEACgkQ6K0/gZqxDnhVYQCgh2nDiVVPHhzrSqgkMTBQ4INS
w8MAn2JGkrM7/QfRYhIkuYMVSNCZF7+6
=9+ye
-----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