Skip to content

Commit

Permalink
lite: reduce size limit to avoid timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Oct 9, 2023
1 parent 39d8b45 commit fc9a11a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fuzz/fuzz_targets/fuzz_regex_lite_match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ fuzz_target!(|case: FuzzCase| -> Corpus {
.dot_matches_new_line(case.dot_matches_new_line)
.swap_greed(case.swap_greed)
.ignore_whitespace(case.ignore_whitespace)
.size_limit(1<<20)
.build() else { return Corpus::Reject };
.size_limit(1 << 16)
.build()
else {
return Corpus::Reject;
};
re.is_match(case.haystack);
Corpus::Keep
});
Binary file not shown.
Binary file not shown.

0 comments on commit fc9a11a

Please sign in to comment.