Fix libutils_fuzz_string8 deadlock.
Bug: 290835996 Test: libutils_fuzz_string8 for several minutes Change-Id: I9b312dd968c380f4fa2a837d38121d0a7a7ac7b1
This commit is contained in:
parent
740c0d274c
commit
749becfa68
|
@ -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 New Issue