Blame SOURCES/0191-ldap_child-initialized-ccname_file_dummy.patch

b725e7
From 77e789f65ab6a5007945edc2a9650a7209358b9c Mon Sep 17 00:00:00 2001
b725e7
From: Sumit Bose <sbose@redhat.com>
b725e7
Date: Fri, 6 Mar 2015 11:27:36 +0100
b725e7
Subject: [PATCH 191/191] ldap_child: initialized ccname_file_dummy
b725e7
b725e7
ccname_file_dummy is used in the done-block which is called before
b725e7
ccname_file_dummy is set to a value. This patch initializes
b725e7
ccname_file_dummy to NULL.
b725e7
b725e7
Related to https://fedorahosted.org/sssd/ticket/2592
b725e7
b725e7
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
b725e7
(cherry picked from commit cc0f9a541c5ecdad750a86b2de9baa1f07403e9e)
b725e7
---
b725e7
 src/providers/ldap/ldap_child.c | 2 +-
b725e7
 1 file changed, 1 insertion(+), 1 deletion(-)
b725e7
b725e7
diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c
b725e7
index bb61a61858abba90530150ba771053fb8abff14a..822eb22b9c841f5c1b863cad087d65d7e63ae4ae 100644
b725e7
--- a/src/providers/ldap/ldap_child.c
b725e7
+++ b/src/providers/ldap/ldap_child.c
b725e7
@@ -274,7 +274,7 @@ static krb5_error_code ldap_child_get_tgt_sync(TALLOC_CTX *memctx,
b725e7
     int kdc_time_offset_usec;
b725e7
     int ret;
b725e7
     TALLOC_CTX *tmp_ctx;
b725e7
-    char *ccname_file_dummy;
b725e7
+    char *ccname_file_dummy = NULL;
b725e7
     char *ccname_file;
b725e7
     mode_t old_umask;
b725e7
 
b725e7
-- 
b725e7
2.1.0
b725e7