diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-20 13:13:40 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-26 10:29:39 -0400 |
commit | 7b997edf7700aa7b46e2ea7fe6475f67e04e1f9c (patch) | |
tree | 0d7eb058abfb72f6b1a6e7e655ca3c3d8b9e3ab1 | |
parent | 2bfdeeb723d990404f89b6d7e9cb23db4a967158 (diff) | |
download | sssd-7b997edf7700aa7b46e2ea7fe6475f67e04e1f9c.tar.gz sssd-7b997edf7700aa7b46e2ea7fe6475f67e04e1f9c.tar.xz sssd-7b997edf7700aa7b46e2ea7fe6475f67e04e1f9c.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.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; |