From 1acd00487fad66983ec2716cb4ef888f8813d390 Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Wed, 25 Sep 2013 18:04:02 -0400 Subject: Ensure credentials structure is initialized https://fedorahosted.org/freeipa/ticket/3953 --- daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemons/ipa-slapi-plugins/ipa-pwd-extop') diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c index ae47bab33..cccddeb91 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c @@ -352,7 +352,7 @@ bool ipapwd_do_otp_auth(Slapi_Entry *bind_entry, struct berval *creds) /* Loop through each token and attempt to authenticate. */ for (i = 0; tokens && tokens[i]; i++) { - struct credentials credentials; + struct credentials credentials = {}; /* Parse the token entry and the credentials. */ if (!credentials_parse(tokens[i], creds, &credentials)) -- cgit