summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Pawan Wagh <waghpawan@google.com> 2023-06-13 17:37:26 +0000
committer Yao Chen <yaochen@google.com> 2023-09-22 17:23:50 +0000
commitdb60b2f5e004a4b303c70bdecb94d4b40f29cc33 (patch)
tree1a03ccf78675bfc52b02442080f038f0c5c7a2b1 /libs/androidfw/AssetManager.cpp
parent9fd44ec14f89b8b4ef4415479ed2ec08b1a39a5b (diff)
Use readUniqueFileDescriptor in incidentd service
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef276951269f7b024baebdf1b8fa40bedb23)
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions