diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-05-03 08:40:35 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-16 08:05:34 -0400 |
commit | 13521d724231f12924dd996d81c157f328ceca17 (patch) | |
tree | b416bd874e8131f4668bc019c887ca3bc65bc1ef /src | |
parent | 6e32020ba248511f4adb5ce89156d576a329d6ad (diff) | |
download | sssd-13521d724231f12924dd996d81c157f328ceca17.tar.gz sssd-13521d724231f12924dd996d81c157f328ceca17.tar.bz2 sssd-13521d724231f12924dd996d81c157f328ceca17.zip |
Fixed unitialized pointer in select_principal_from_keytab
https://fedorahosted.org/sssd/ticket/857
Diffstat (limited to 'src')
-rw-r--r-- | src/util/sss_krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c index 55874c80..ddd79be8 100644 --- a/src/util/sss_krb5.c +++ b/src/util/sss_krb5.c @@ -36,7 +36,7 @@ errno_t select_principal_from_keytab(TALLOC_CTX *mem_ctx, { krb5_error_code kerr = 0; krb5_context krb_ctx = NULL; - krb5_keytab keytab; + krb5_keytab keytab = NULL; krb5_principal client_princ = NULL; TALLOC_CTX *tmp_ctx; char *primary = NULL; |