summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Wachenschwanz <mwachens@google.com>2019-05-15 22:58:15 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-06-12 09:55:23 +0000
commit1924f6d94debfe88fc4c81e3554e086c779158b9 (patch)
tree6919f951857a398e27073b62459f41a0ac6fc12c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent205e540a64745c6e0f9702469c9e4b14908037ea (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 (cherry picked from commit f8ef5bcf21c87d8617f5e11810cc94350298d114)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions