summaryrefslogtreecommitdiffstats
path: root/src/fuzz/fuzz-bootspec.options
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-10 11:55:37 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-05-10 19:12:35 +0200
commit82544241bade82d0740378fa099d0d6c3dcfaeb0 (patch)
tree61f18a576560920f57ade11e4d52dc18d8e7c0cd /src/fuzz/fuzz-bootspec.options
parentMerge pull request #23336 from keszybz/fuzz-calendarspec-more-coverage (diff)
downloadsystemd-82544241bade82d0740378fa099d0d6c3dcfaeb0.tar.xz
systemd-82544241bade82d0740378fa099d0d6c3dcfaeb0.zip
fuzz-bootspec: limit input size
https://oss-fuzz.com/testcase-detail/5680508182331392 has the first timeout with 811kb of input. As in the other cases, the code is known to be slow with lots of repeated entries and we're fine with that.
Diffstat (limited to 'src/fuzz/fuzz-bootspec.options')
-rw-r--r--src/fuzz/fuzz-bootspec.options2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fuzz/fuzz-bootspec.options b/src/fuzz/fuzz-bootspec.options
new file mode 100644
index 0000000000..0824b19fab
--- /dev/null
+++ b/src/fuzz/fuzz-bootspec.options
@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 65535