commit | 6272edcb53d3c8705f57df3b46b1f92e646e30bc | [log] [tgz] |
---|---|---|
author | Paul Wankadia <[email protected]> | Thu Oct 11 08:11:02 2018 -0700 |
committer | Paul Wankadia <[email protected]> | Thu Oct 11 15:12:53 2018 +0000 |
tree | 2b1533ce097e55113038d0471e85050bd1aaa638 | |
parent | 54ca2cd59219aab637e7a5e1e6d0f383a36df192 [diff] |
Dial down the fanout limits slightly. Change-Id: I713dbb60d0b322e4d9ef49266901b192dc515bbc Reviewed-on: https://code-review.googlesource.com/c/34210 Reviewed-by: Paul Wankadia <[email protected]>
diff --git a/re2/fuzzing/re2_fuzzer.cc b/re2/fuzzing/re2_fuzzer.cc index 2068685..68e2c93 100644 --- a/re2/fuzzing/re2_fuzzer.cc +++ b/re2/fuzzing/re2_fuzzer.cc
@@ -33,10 +33,10 @@ // (They can also cause bug reports due to fuzzer timeouts.) std::map<int, int> histogram; int fanout = re.ProgramFanout(&histogram); - if (fanout > 9) + if (fanout > 8) return; int rfanout = re.ReverseProgramFanout(&histogram); - if (rfanout > 9) + if (rfanout > 8) return; StringPiece sp1, sp2, sp3, sp4;