From: Zbigniew Jędrzejewski-Szmek Date: Fri, 7 Dec 2018 15:49:20 +0000 (+0100) Subject: fuzz-unit-file: add one more test case X-Git-Tag: v240~97^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11105%2Fhead;p=thirdparty%2Fsystemd.git 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. --- 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 00000000000..c49b8c6b1c5 Binary files /dev/null and b/test/fuzz/fuzz-unit-file/oss-fuzz-11569 differ