mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
logind: Terminate bus_login_session_user_properties
Fixes segfault in systemd-logind, triggered by:
systemd-loginctl show-session $XDG_SESSION_ID.
Bug introduced by d200735e13
,
so only systemd v39 is affected.
This commit is contained in:
parent
cae5846b2c
commit
1d4ec31570
@ -251,6 +251,7 @@ static const BusProperty bus_login_session_properties[] = {
|
||||
static const BusProperty bus_login_session_user_properties[] = {
|
||||
{ "User", bus_session_append_user, "(uo)", 0 },
|
||||
{ "Name", bus_property_append_string, "s", offsetof(User, name), true },
|
||||
{ NULL, }
|
||||
};
|
||||
|
||||
static DBusHandlerResult session_message_dispatch(
|
||||
|
Loading…
Reference in New Issue
Block a user