Merge "Fix libutils_fuzz_string8 deadlock." into main am: 435b520bf0 am: 86c5609deb

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2656902

Change-Id: Ia89d8d6942fed86873c1c80e3cd822c7ab690ed5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-07-18 23:22:11 +00:00 committed by Automerger Merge Worker
commit d2a81b3db4

View file

@ -45,6 +45,8 @@ std::vector<std::function<void(FuzzedDataProvider*, android::String8*, android::
str1->toLower();
},
[](FuzzedDataProvider*, android::String8* str1, android::String8* str2) -> void {
if (str2->size() == 0) return;
str1->removeAll(str2->c_str());
},
[](FuzzedDataProvider*, android::String8* str1, android::String8* str2) -> void {