mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Martin Prikryl points out that need_pw may be used uninitialised.
[originally from svn r3751]
This commit is contained in:
parent
bd006a3ced
commit
b424ea234f
1
ssh.c
1
ssh.c
@ -4744,6 +4744,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
|
|||||||
|
|
||||||
s->method = 0;
|
s->method = 0;
|
||||||
ssh->pkt_ctx &= ~SSH2_PKTCTX_AUTH_MASK;
|
ssh->pkt_ctx &= ~SSH2_PKTCTX_AUTH_MASK;
|
||||||
|
s->need_pw = FALSE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Most password/passphrase prompts will be
|
* Most password/passphrase prompts will be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user