commit | 06041db074add181ddf19c3e4235a73c62207495 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Wed May 15 22:58:15 2019 -0700 |
committer | Michael Wachenschwanz <mwachens@google.com> | Wed May 15 23:10:02 2019 -0700 |
tree | f5c511bd0c41c293ec5e10ce3c306a048a90d7e9 | |
parent | aae9d6c77a404f022645c99d3492c9079ec0e747 [diff] |
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 Fixes: 34175893 Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013