]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: refuse to acquire dbus connection with --global
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 11 Mar 2023 08:03:37 +0000 (17:03 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Mar 2023 11:27:34 +0000 (12:27 +0100)
commitd77d42ed3ae95ee035dce4707777b077d1a9bf8b
tree2cbe5f1ba4437d84d9688fc8b83d84e5fa6c0a7a
parent560900be67694798b2230e9b5d4b9449733a2c01
systemctl: refuse to acquire dbus connection with --global

Maybe, better to check the runtime scope each verb for better log
message, but this is a good start point to not trigger assertion.

Fixes oss-fuzz#56915 (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=56915).

Fixes #26402 and #26754.
src/systemctl/systemctl-util.c
test/fuzz/fuzz-systemctl-parse-argv/oss-fuzz-56915 [new file with mode: 0644]