commit | 89528a380a7e9722dbf7b5a817251049eab355fb | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Tue Oct 23 00:44:38 2018 -0700 |
committer | Paul Wankadia <junyer@google.com> | Tue Oct 23 07:45:45 2018 +0000 |
tree | ac8b3b5718c04aa88b98d371d7a6f4466aee1733 | |
parent | 6272edcb53d3c8705f57df3b46b1f92e646e30bc [diff] |
Dial down the fanout limits further. Change-Id: I42d65837bbeb7675bb0a0cd56346fb4c02c3f6dc Reviewed-on: https://code-review.googlesource.com/c/34550 Reviewed-by: Paul Wankadia <junyer@google.com>
diff --git a/re2/fuzzing/re2_fuzzer.cc b/re2/fuzzing/re2_fuzzer.cc index 68e2c93..978fb76 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 > 8) + if (fanout > 7) return; int rfanout = re.ReverseProgramFanout(&histogram); - if (rfanout > 8) + if (rfanout > 7) return; StringPiece sp1, sp2, sp3, sp4;