aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-07 16:49:20 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-10 11:57:26 +0100
commita5dfc36ce60bf57ea319756a07a4a8a9f2a58b69 (patch)
tree295952435958daddcb1a26e13ba6a3cb8ed2ba0e /test/fuzz
parentUse VLA instead of alloca (diff)
downloadsystemd-a5dfc36ce60bf57ea319756a07a4a8a9f2a58b69.tar.gz
systemd-a5dfc36ce60bf57ea319756a07a4a8a9f2a58b69.tar.bz2
systemd-a5dfc36ce60bf57ea319756a07a4a8a9f2a58b69.zip
fuzz-unit-file: add one more test case
There seems to be no error per se. RequiresMountsFor=%s%s%s..%s%s%s is expanded to RequiresMountsFor=/bin/zsh/bin/zsh/bin/zsh/bin/zsh/..., which takes a bit of time, and then we iterate over this a few times, creating a hashmap with a hashmap for each prefix of the path, each with one item pointing back to the original unit. Takes about 0.8 s on my machine.
Diffstat (limited to 'test/fuzz')
-rw-r--r--test/fuzz/fuzz-unit-file/oss-fuzz-11569bin0 -> 277466 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-unit-file/oss-fuzz-11569 b/test/fuzz/fuzz-unit-file/oss-fuzz-11569
new file mode 100644
index 000000000..c49b8c6b1
--- /dev/null
+++ b/test/fuzz/fuzz-unit-file/oss-fuzz-11569
Binary files differ