Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**What problem is this PR intended to solve?** Place an upper limit on the input size to the fuzzer, to avoid naive out-of-memory failure reports, which we've been getting regularly. See: - [63481 - nokogiri:parse_fuzzer: Out-of-memory in parse_fuzzer - oss-fuzz](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63481) Earlier I had given up on fixing this because I was trying to configure higher memory limits; this is a more straightforward solution (and one suggested by https://google.github.io/oss-fuzz/getting-started/new-project-guide/#input-size).
- Loading branch information