diff --git a/fuzz/fuzz_targets/fuzz_regex_match.rs b/fuzz/fuzz_targets/fuzz_regex_match.rs index 2f6195334..285ae352d 100644 --- a/fuzz/fuzz_targets/fuzz_regex_match.rs +++ b/fuzz/fuzz_targets/fuzz_regex_match.rs @@ -15,7 +15,7 @@ fuzz_target!(|data: &[u8]| { if let Some((char_index, _)) = char_index { let (pattern, input) = data.split_at(char_index); let result = - regex::RegexBuilder::new(pattern).size_limit(1 << 20).build(); + regex::RegexBuilder::new(pattern).size_limit(1 << 18).build(); if let Ok(re) = result { re.is_match(input); }