diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2013-09-25 18:04:02 -0400 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-10-02 14:38:13 +0200 |
commit | 1acd00487fad66983ec2716cb4ef888f8813d390 (patch) | |
tree | 44c605fe857d63004f883fa795eb0a6a23e46e9d /daemons/ipa-slapi-plugins | |
parent | b1cfb47dc03a49648fca7b9d5b0b041342689a88 (diff) | |
download | freeipa-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/ipa-slapi-plugins')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/auth.c | 2 |
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 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)) |