From b424ea234f389ce8f4dcc98a6a040fc64dacd09e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 21 Jan 2004 19:33:48 +0000 Subject: [PATCH] Martin Prikryl points out that need_pw may be used uninitialised. [originally from svn r3751] --- 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