[systemd-commits] src/service.c
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Sep 28 10:41:33 PDT 2010
src/service.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 409db0029927f29775c8396acc98cafe14412a53
Author: Matthias Schiffer <mschiffer at universe-factory.net>
Date: Tue Sep 28 04:21:34 2010 +0200
service: Don't crash because of double free when Arch services are disabled in rc.conf
diff --git a/src/service.c b/src/service.c
index 6a230e5..d9e0b20 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2795,6 +2795,7 @@ static int service_enumerate(Manager *m) {
STRV_FOREACH(p, arch_daemons_split) {
free(name);
+ name = NULL;
if (**p == '!') /* daemons prefixed with ! are disabled, so ignore them */
continue;
More information about the systemd-commits
mailing list