Skip to content

Commit

Permalink
ICU-22716 Set smaller timeout limit for uregex_match_fuzzer
Browse files Browse the repository at this point in the history
3000 is still too large and cause https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69869
set to 300 per andy's earlier suggestion
  • Loading branch information
FrankYFTang committed Jun 24, 2024
1 parent 86add69 commit cf7ff1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
}
std::unique_ptr<icu::RegexMatcher> regex_matcher(re->matcher(haystack, status));
if (U_SUCCESS(status)) {
regex_matcher->setTimeLimit(3000, status);
regex_matcher->setTimeLimit(300, status);
regex_matcher->find(0, status);
}
return 0;
Expand Down

0 comments on commit cf7ff1b

Please sign in to comment.