1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Martin Prikryl points out that need_pw may be used uninitialised.

[originally from svn r3751]
This commit is contained in:
Simon Tatham 2004-01-21 19:33:48 +00:00
parent bd006a3ced
commit b424ea234f

1
ssh.c
View File

@ -4744,6 +4744,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
s->method = 0;
ssh->pkt_ctx &= ~SSH2_PKTCTX_AUTH_MASK;
s->need_pw = FALSE;
/*
* Most password/passphrase prompts will be