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:39:04 +0200 |
commit | c6647a09ab6d37c2acf60cd95e365598d72c6fb9 (patch) | |
tree | a4dcb4d2116e61847576138d680cb3049c40c38a | |
parent | 8cc0de367b506199b906749eecefacdbb5ca0bf8 (diff) | |
download | freeipa.git-c6647a09ab6d37c2acf60cd95e365598d72c6fb9.tar.gz freeipa.git-c6647a09ab6d37c2acf60cd95e365598d72c6fb9.tar.xz freeipa.git-c6647a09ab6d37c2acf60cd95e365598d72c6fb9.zip |
Ensure credentials structure is initialized
https://fedorahosted.org/freeipa/ticket/3953
-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 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)) |