Android 8.0.0 Release 37 (5650811)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXUiYigAKCRDorT+BmrEO
eFwVAJ4x4Bs2jn9RbK5PMxAlg46Gn1PpgACgh0fRGu/Rh3SAxI6ex0xhlpnR6SQ=
=/mmQ
-----END PGP SIGNATURE-----
Clear the Parcel before writing an exception during a transaction

This prevents any object data from being accidentally overwritten by the
exception, which could cause unexpected malformed objects to be sent
across the transaction.

Test: atest CtsOsTestCases:ParcelTest#testExceptionOverwritesObject
Bug: 34175893
Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013
Merged-In: Iaf80a0ad711762992b8ae60f76d861c97a403013
(cherry picked from commit f8ef5bcf21c87d8617f5e11810cc94350298d114)
1 file changed