diff options
author | Sumit Bose <sbose@redhat.com> | 2015-03-06 11:27:36 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-03-06 12:10:50 +0100 |
commit | cc0f9a541c5ecdad750a86b2de9baa1f07403e9e (patch) | |
tree | 2c96b3057e80c7e5b3aa3f656ed83beae8c9dad4 | |
parent | 13ec767e6ca3e435e119f1f07bda10eb213383f6 (diff) | |
download | sssd-cc0f9a541c5ecdad750a86b2de9baa1f07403e9e.tar.gz sssd-cc0f9a541c5ecdad750a86b2de9baa1f07403e9e.tar.xz sssd-cc0f9a541c5ecdad750a86b2de9baa1f07403e9e.zip |
ldap_child: initialized ccname_file_dummy
ccname_file_dummy is used in the done-block which is called before
ccname_file_dummy is set to a value. This patch initializes
ccname_file_dummy to NULL.
Related to https://fedorahosted.org/sssd/ticket/2592
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r-- | src/providers/ldap/ldap_child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c index 774cff9c2..8f034affa 100644 --- a/src/providers/ldap/ldap_child.c +++ b/src/providers/ldap/ldap_child.c @@ -272,7 +272,7 @@ static krb5_error_code ldap_child_get_tgt_sync(TALLOC_CTX *memctx, int kdc_time_offset_usec; int ret; TALLOC_CTX *tmp_ctx; - char *ccname_file_dummy; + char *ccname_file_dummy = NULL; char *ccname_file; mode_t old_umask; |