commit | 1b8bddd96b2efd4074b6d4eee377b62077c031bd | [log] [tgz] |
---|---|---|
author | Lin Lee <linlee@google.com> | Mon Aug 07 09:34:41 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 11 22:51:15 2023 +0000 |
tree | 247d9ab7bc74e2466b01fce12c566f471d8b8100 | |
parent | 4fec405ec2c2d1c5174475179b1808dd6fbce8af [diff] |
Fix Heap-use-after-free in MDnsSdListener::Monitor::run Use thread join to avoid thread exiting after instance recycled. Prior to implementing this patch, fuzzing would lead to a segmentation fault after approximately 500 rounds. With the addition of the patch, the fuzzing process can now be repeated for over 30,000 rounds. Test: m, fuzzing Fuzzing: mma mdns_service_fuzzer && adb sync data && adb shell /data/fuzz/arm64/mdns_service_fuzzer/mdns_service_fuzzer Bug: 272382770 Ignore-AOSP-First: Security Issue (cherry picked from commit 9c0c15f80cffb98b36284dd169a2e62e059dbbe3) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:75e5e2e1faec7aa2812fc6fba30d6fe80558bacd) Merged-In: I5bc85451b4e6539bad45ceb672924a37952cc138 Change-Id: I5bc85451b4e6539bad45ceb672924a37952cc138