[systemd-commits] src/core

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Mon Sep 8 13:09:50 PDT 2014


 src/core/namespace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 120d578e5fa11ee3c210121905fb63bc24e3f043
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Mon Sep 8 22:05:17 2014 +0200

    namespace: avoid posible use of uninitialized variable

diff --git a/src/core/namespace.c b/src/core/namespace.c
index eaaebdd..f76d389 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -278,7 +278,7 @@ static int mount_kdbus(BindMount *m) {
         char temporary_mount[] = "/tmp/kdbus-dev-XXXXXX";
         _cleanup_free_ char *basepath = NULL;
         _cleanup_umask_ mode_t u;
-        char *busnode, *root;
+        char *busnode = NULL, *root;
         struct stat st;
         int r;
 



More information about the systemd-commits mailing list