1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/test/fuzz/fuzz-systemctl-parse-argv
Yu Watanabe 1056457d11 systemctl: gracefully adjust bus transport and runtime scope when --boot-loader-entry=help
This fixes the following assertion:
===
SYSTEMD_LOG_LEVEL=debug systemctl --user -H foo --boot-loader-entry=help
Assertion 'transport != BUS_TRANSPORT_REMOTE || runtime_scope == RUNTIME_SCOPE_SYSTEM' failed at src/shared/bus-util.c:284, function bus_connect_transport(). Ignoring.
Failed to connect to bus: Operation not supported
===

Fixes a bug introduced by 97af80c5a7.
Fixes #33661.
Fixes oss-fuzz#70153.
2024-08-06 05:33:25 +09:00
..
help.input tree-wide: change --kill-who to --kill-whom 2022-08-26 11:15:44 +09:00
missing-strv-free fuzz: rename long samples 2023-05-18 15:23:27 +02:00
oss-fuzz-31055 basic/alloc-util: also reset the cleaned-up variable in freep() 2021-02-19 15:25:16 +01:00
oss-fuzz-31714 systemctl: unset const char* arguments in static destructors 2021-05-31 19:29:07 +02:00
oss-fuzz-56915 systemctl: refuse to acquire dbus connection with --global 2023-03-13 12:27:34 +01:00
oss-fuzz-70153 systemctl: gracefully adjust bus transport and runtime scope when --boot-loader-entry=help 2024-08-06 05:33:25 +09:00