commit | 851dbb83f9f3de3064c0e4293246f1388cdddcb4 | [log] [tgz] |
---|---|---|
author | Pawan Wagh <waghpawan@google.com> | Mon Oct 23 17:08:05 2023 +0000 |
committer | Pawan Wagh <waghpawan@google.com> | Mon Oct 23 21:31:59 2023 +0000 |
tree | 9e4575b681f0641d95d12918b6b6f2b7aec5a290 | |
parent | eafadb3b873bc639017459e67b24debada9d9961 [diff] |
Limit number of fds written in parcel Certain input sequence causes fuzzers to pick a single fd from getRandomFd and write it to parcel. Check object count before writing more fds and binders in parcel. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer -runs=1000 Test: atest fuzz_service_test Test: atest binderRecordReplayTest Bug: 296516864 Change-Id: I84359a7128fde359828c26ea43ac2559d1236708