summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2013-09-25 18:04:02 -0400
committerPetr Viktorin <pviktori@redhat.com>2013-10-02 14:38:13 +0200
commit1acd00487fad66983ec2716cb4ef888f8813d390 (patch)
tree44c605fe857d63004f883fa795eb0a6a23e46e9d /daemons
parentb1cfb47dc03a49648fca7b9d5b0b041342689a88 (diff)
downloadfreeipa-1acd00487fad66983ec2716cb4ef888f8813d390.tar.gz
freeipa-1acd00487fad66983ec2716cb4ef888f8813d390.tar.xz
freeipa-1acd00487fad66983ec2716cb4ef888f8813d390.zip
Ensure credentials structure is initialized
https://fedorahosted.org/freeipa/ticket/3953
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c
index ae47bab3..cccddeb9 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))