]> git.ipfire.org Git - thirdparty/systemd.git/commit
fuzz: limit the size of the input
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 1 Nov 2023 19:18:28 +0000 (20:18 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 1 Nov 2023 23:08:19 +0000 (23:08 +0000)
commitd0404391e5f87a892c2eaed3a89028281af34f6b
treec4837fecf8d3c3a32c2797e7abf3a5038404c63a
parent43fe529e0fe15e54ad603e26ef103a24b5e122c0
fuzz: limit the size of the input

To avoid timeouts in oss-fuzz. The timeout reported in #29736 happened
with a ~500K test case, so with a conservative 128K limit we should
still be well within a range for any reasonable-ish generated input to
get through, while avoiding timeouts.

Resolves: #29736
src/core/fuzz-execute-serialize.c