summaryrefslogtreecommitdiffstats
path: root/src
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:43:11 -0400
commitfa3db4695a82b09cab30d0499114159b836e6357 (patch)
tree46b4c0a84fe226e800426e13400177e4bafdff49 /src
parent307b13bf91a8f70fe81949dfc3548ed2796e890a (diff)
downloadsssd-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.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 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;