diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-20 13:13:40 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-20 10:46:23 -0400 |
commit | c2719cc6c649d3c80c74ca5f9a3ef2c61c528341 (patch) | |
tree | c7b4842937126d8afe930603d06da7ef185aa110 /src/providers | |
parent | 18f82da0e2127e886431779b711e8c53a59e5732 (diff) | |
download | sssd-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.tar.gz sssd-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.tar.xz sssd-c2719cc6c649d3c80c74ca5f9a3ef2c61c528341.zip |
Fix uninitialized pointer read in sdap_gssapi_get_default_realm()
https://fedorahosted.org/sssd/ticket/1003
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/ldap_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c index 5a1b4fa50..23f612a5a 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; |