summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-03-24 14:25:46 -0400
committerRob Crittenden <rcritten@redhat.com>2011-03-24 15:20:03 -0400
commit8308efeb14baa26c64e97ee5ec3a01229c563856 (patch)
treecbc093925071933eac448f810c36cb02b18c2eb6
parent0693b67f200c3b02480e1185383bfa8507fbeeb7 (diff)
downloadfreeipa-8308efeb14baa26c64e97ee5ec3a01229c563856.zip
freeipa-8308efeb14baa26c64e97ee5ec3a01229c563856.tar.gz
freeipa-8308efeb14baa26c64e97ee5ec3a01229c563856.tar.xz
Fix uninitialized variable.
https://fedorahosted.org/freeipa/ticket/1118
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
index 1293203..df1c171 100644
--- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
+++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
@@ -260,7 +260,7 @@ static Slapi_Value **encrypt_encode_key(struct ipapwd_krbcfg *krbcfg,
int krbTicketFlags;
struct berval *bval = NULL;
Slapi_Value **svals = NULL;
- krb5_principal princ;
+ krb5_principal princ = NULL;
krb5_error_code krberr;
krb5_data pwd;
struct ipapwd_keyset *kset = NULL;