summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-07 22:39:35 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-07 23:52:58 +0100
commit1d4ec315707a9d1411efc5d2ef4a47f9374ab525 (patch)
tree3c78013ccec929e4c26761200df741101e89719d /src
parentcae5846b2cbb5091267f59f4c7f941ce767a1f8f (diff)
logind: Terminate bus_login_session_user_properties
Fixes segfault in systemd-logind, triggered by: systemd-loginctl show-session $XDG_SESSION_ID. Bug introduced by d200735e13c52dcfe36c0e066f9f6c2fbfb85a9c, so only systemd v39 is affected.
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-session-dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index dabb91cd15..9767f7d30c 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -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(