[systemd-commits] src/dbus1-generator
David Herrmann
dvdhrm at kemper.freedesktop.org
Thu Jan 8 07:14:38 PST 2015
src/dbus1-generator/dbus1-generator.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 34a317e1ccb0053d49383eb5e2f73dec97affc4c
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Jan 8 16:13:39 2015 +0100
dbus1-generator: fix array sentinal
Add a {} sentinal entry so the config-iterator can properly iterate all
array elements. Fixes a segfault in the dbus1-generator.
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c
index 10a33ef..ca737e3 100644
--- a/src/dbus1-generator/dbus1-generator.c
+++ b/src/dbus1-generator/dbus1-generator.c
@@ -155,6 +155,7 @@ static int add_dbus(const char *path, const char *fname, const char *type) {
{ "D-BUS Service", "Exec", config_parse_string, 0, &exec },
{ "D-BUS Service", "User", config_parse_string, 0, &user },
{ "D-BUS Service", "SystemdService", config_parse_string, 0, &service },
+ { },
};
char *p;
More information about the systemd-commits
mailing list