summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-03 08:40:35 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-16 08:05:34 -0400
commit13521d724231f12924dd996d81c157f328ceca17 (patch)
treeb416bd874e8131f4668bc019c887ca3bc65bc1ef /src
parent6e32020ba248511f4adb5ce89156d576a329d6ad (diff)
downloadsssd-13521d724231f12924dd996d81c157f328ceca17.tar.gz
sssd-13521d724231f12924dd996d81c157f328ceca17.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c
index 55874c808..ddd79be82 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;