mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Ensure credentials structure is initialized
https://fedorahosted.org/freeipa/ticket/3953
This commit is contained in:
parent
b1cfb47dc0
commit
1acd00487f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user