diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-12-07 16:49:20 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-12-10 11:57:26 +0100 |
commit | a5dfc36ce60bf57ea319756a07a4a8a9f2a58b69 (patch) | |
tree | 295952435958daddcb1a26e13ba6a3cb8ed2ba0e /test | |
parent | Use VLA instead of alloca (diff) | |
download | systemd-a5dfc36ce60bf57ea319756a07a4a8a9f2a58b69.tar.xz 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')
-rw-r--r-- | test/fuzz/fuzz-unit-file/oss-fuzz-11569 | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000000..c49b8c6b1c --- /dev/null +++ b/test/fuzz/fuzz-unit-file/oss-fuzz-11569 |