From 738b50cff81295831bdf58fa2f49a724187fe0e9 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 20 Mar 2018 07:59:56 +0100 Subject: [PATCH] Fix using uninitialized value "name" in _dbus_combine_tcp_errors Coverity CID 265359. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922 --- dbus/dbus-sysdeps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 98d5a925..d9fd13a9 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -925,7 +925,7 @@ _dbus_combine_tcp_errors (DBusList **sources, else { DBusList *iter; - const char *name; + const char *name = NULL; /* If there was more than one error, concatenate all the * errors' diagnostic messages, and use their common error -- 2.12.3