From 440d701f3c930b53ea054b25cd859388f3cd9a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 14 May 2026 00:34:03 +0200 Subject: [PATCH] fuzz-systemctl-parse-argv: add two corpus files to test compat parsers Looking at the corpus examples, I'm not sure the fuzzer even went into the compat parsers. None of the files have argv[0] that'd cause invoked_as() to go into the compat paths. So add the files to provide a quick test and possibly bias the fuzzer search into the right direction. --- test/fuzz/fuzz-systemctl-parse-argv/halt.input | Bin 0 -> 104 bytes .../fuzz/fuzz-systemctl-parse-argv/shutdown.input | Bin 0 -> 102 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/fuzz/fuzz-systemctl-parse-argv/halt.input create mode 100644 test/fuzz/fuzz-systemctl-parse-argv/shutdown.input diff --git a/test/fuzz/fuzz-systemctl-parse-argv/halt.input b/test/fuzz/fuzz-systemctl-parse-argv/halt.input new file mode 100644 index 0000000000000000000000000000000000000000..26b15bd1833ba3be7d053ba0c52f49bab6691b49 GIT binary patch literal 104 zcmXYnK@NZ*3dhYo@QpVB}xxOg{3X*Y8Y(D*%#vjSdR=#>>T}S Z1eNKo`0}?XvhALl0@XmpyXq6Ao-en2Af5mK literal 0 HcmV?d00001 diff --git a/test/fuzz/fuzz-systemctl-parse-argv/shutdown.input b/test/fuzz/fuzz-systemctl-parse-argv/shutdown.input new file mode 100644 index 0000000000000000000000000000000000000000..cc62a983c1f25e07416044f920abe642a6481121 GIT binary patch literal 102 zcmWlQK@NZ*3