summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJayant Chowdhary <jchowdhary@google.com>2021-06-09 14:34:54 -0700
committerJayant Chowdhary <jchowdhary@google.com>2021-06-10 11:44:27 -0700
commit6b0bcd60c81003e6a193aeccf44ee03f188e3984 (patch)
tree9c6731d794e8773ef0087834a85518a97876c533 /tools/aapt2/java/JavaClassGenerator.cpp
parent4e46adb80847156289609b76a931d0b27c3d2ff9 (diff)
camera2: Fix exception swallowing in params classes createFromParcel
Do not catch exceptions when we attempt to create the following classes from a parcel - OutputConfiguration - VendorTagDescriptor - VendorTagDescriptorCache - SessionConfiguration This could cause subsequent parcel information to be read incorrectly. Bug: 188675581 Test: Sample app which tries to write invalid data into an OutputConfiguration parcel to send in an intent via Broadcast. When read by the receiving app, gets an exception (not swallowed). Change-Id: I745ca49daa6ca36b1020d518e9f346b52684f2b1 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions