[SSSD] [PATCH] Add a missing initializer
Sumit Bose
sbose at redhat.com
Wed Jun 9 10:36:53 UTC 2010
Hi,
this patch fixes #520 by adding the missing initializer.
bye,
Sumit
-------------- next part --------------
From 94fdff1ea8f3facd17e3dc94b098d458258769da Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Wed, 9 Jun 2010 12:35:06 +0200
Subject: [PATCH] Add a missing initializer
---
src/providers/krb5/krb5_child.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index fea1e56..18b7a22 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -421,7 +421,7 @@ static krb5_error_code validate_tgt(struct krb5_req *kr)
{
krb5_error_code kerr;
krb5_error_code kt_err;
- char *principal;
+ char *principal = NULL;
krb5_keytab keytab;
krb5_kt_cursor cursor;
krb5_keytab_entry entry;
--
1.7.0.1
More information about the sssd-devel
mailing list