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:43:46 -0400 |
commit | ce7a7a35514cf0e1e9ef9d6a5cb287536f7fe85c (patch) | |
tree | 4940e676c67bc63076b3b4ed5bc9328cd86df0d3 | |
parent | 55ca44bb542794be19a1a6dc484185e04f39711b (diff) | |
download | sssd_unused-ce7a7a35514cf0e1e9ef9d6a5cb287536f7fe85c.tar.gz sssd_unused-ce7a7a35514cf0e1e9ef9d6a5cb287536f7fe85c.tar.xz sssd_unused-ce7a7a35514cf0e1e9ef9d6a5cb287536f7fe85c.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 70d5ca63..e25f649b 100644 --- a/src/providers/ldap/ldap_common.c +++ b/src/providers/ldap/ldap_common.c @@ -731,7 +731,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; |