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:
commit
d2a81b3db4
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue