Android CTS 5.1 Release 28 (4607396)
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCWqcFbgAKCRDorT+BmrEO
eM/cAJ9lMUhQtoiwRGcwjKTf21S5VZiA9ACdEXzlgDTON1w49qiDQ0JJWO8UzPs=
=bhSc
-----END PGP SIGNATURE-----
Fix bugs in jmem-ashmem.
If ashmem_set_prot_region fails, close the previously opened file.
If mmap fails, close the file and return -1.
BUG:18894965
Change-Id: I936b5c7395480249b1457e7dee566da6141fb023
(cherry picked from commit 3773c6ec2bcf603cfa2b16575022642b3e816297)
1 file changed