summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-09-20 13:13:40 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-09-20 10:46:23 -0400
commitc2719cc6c649d3c80c74ca5f9a3ef2c61c528341 (patch)
treec7b4842937126d8afe930603d06da7ef185aa110
parent18f82da0e2127e886431779b711e8c53a59e5732 (diff)
downloadsssd_unused-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.tar.gz
sssd_unused-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.tar.xz
sssd_unused-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.zip
Fix uninitialized pointer read in sdap_gssapi_get_default_realm()
https://fedorahosted.org/sssd/ticket/1003
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index 5a1b4fa5..23f612a5 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -712,7 +712,7 @@ static const char *
sdap_gssapi_get_default_realm(TALLOC_CTX *mem_ctx)
{
char *krb5_realm = NULL;
- const char *realm;
+ const char *realm = NULL;
krb5_error_code krberr;
krb5_context context = NULL;