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:11 -0400 |
commit | fa3db4695a82b09cab30d0499114159b836e6357 (patch) | |
tree | 46b4c0a84fe226e800426e13400177e4bafdff49 /src | |
parent | 307b13bf91a8f70fe81949dfc3548ed2796e890a (diff) | |
download | sssd-fa3db4695a82b09cab30d0499114159b836e6357.tar.gz sssd-fa3db4695a82b09cab30d0499114159b836e6357.tar.xz sssd-fa3db4695a82b09cab30d0499114159b836e6357.zip |
Fix uninitialized pointer read in sdap_gssapi_get_default_realm()
https://fedorahosted.org/sssd/ticket/1003
Diffstat (limited to 'src')
-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 1735e8c70..aad42bac9 100644 --- a/src/providers/ldap/ldap_common.c +++ b/src/providers/ldap/ldap_common.c @@ -729,7 +729,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; |