D7106: fuzz: restrict dirs fuzzer to only 40k of input
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Tue Oct 15 21:55:03 EDT 2019
indygreg added a comment.
If we blow stupid amounts of memory in the `dirs` internals, perhaps we should be enforcing a length limit in the implementation instead of burying our head in the sand by not triggering it via fuzzing.
If we need to teach the fuzzer to only send small input so we don't trigger exceptions, fine. But if this is an OOM vector, I'd like to fix it. What do you think?
CHANGES SINCE LAST ACTION
To: durin42, #hg-reviewers
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel