Skip to content

Commit

Permalink
ntlm_manual_challenge: initialize hash to zero
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
  • Loading branch information
Nikos Mavrogiannopoulos authored and nmav committed Nov 17, 2020
1 parent 1c23622 commit 4061451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ntlm.c
Expand Up @@ -873,6 +873,8 @@ static int ntlm_manual_challenge(struct openconnect_info *vpninfo, int proxy,
int token_len = -EINVAL;
int ntlmver;

memset(hash, 0, sizeof(hash));

if (!auth_state->challenge)
return -EINVAL;

Expand Down

0 comments on commit 4061451

Please sign in to comment.