From cf7ff1b0a508c216c57b61badfa44681cf0978fc Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Mon, 24 Jun 2024 13:25:25 -0700 Subject: [PATCH] ICU-22716 Set smaller timeout limit for uregex_match_fuzzer 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 --- icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp b/icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp index 1d21b5a09506..373dda5a4a6c 100644 --- a/icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp +++ b/icu4c/source/test/fuzzer/uregex_match_fuzzer.cpp @@ -29,7 +29,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { } std::unique_ptr 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;