commit | f8ef5bcf21c87d8617f5e11810cc94350298d114 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Wed May 15 22:58:15 2019 -0700 |
committer | Bryan Ferris <bferris@google.com> | Wed Jun 05 17:31:43 2019 +0000 |
tree | b5432f630502c350d2537f82c7d84e1ea9d2d4ad | |
parent | fe9f143d2c713475ed2e354e893ea26f5c2f7afa [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 Bug: 34175893 Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013 Merged-In: Iaf80a0ad711762992b8ae60f76d861c97a403013