зеркало из https://github.com/github/putty.git
Martin Prikryl points out that need_pw may be used uninitialised.
[originally from svn r3751]
This commit is contained in:
Родитель
bd006a3ced
Коммит
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;
|
||||
ssh->pkt_ctx &= ~SSH2_PKTCTX_AUTH_MASK;
|
||||
s->need_pw = FALSE;
|
||||
|
||||
/*
|
||||
* Most password/passphrase prompts will be
|
||||
|
|
Загрузка…
Ссылка в новой задаче