From 954a954017ef83065bfb605b0bd99d8856071892 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 21 Jan 2004 19:33:48 +0000 Subject: [PATCH] Martin Prikryl points out that need_pw may be used uninitialised. git-svn-id: svn://svn.tartarus.org/sgt/putty@3751 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.c b/ssh.c index 22a0b452..6c1aeb75 100644 --- a/ssh.c +++ b/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 -- 2.11.0