summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMichael Wachenschwanz <mwachens@google.com>2019-05-15 22:58:15 -0700
committerMichael Wachenschwanz <mwachens@google.com>2019-05-15 23:10:02 -0700
commit06041db074add181ddf19c3e4235a73c62207495 (patch)
treef5c511bd0c41c293ec5e10ce3c306a048a90d7e9 /tools/aapt2/java/JavaClassGenerator.cpp
parentaae9d6c77a404f022645c99d3492c9079ec0e747 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions