projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Martin Prikryl points out that need_pw may be used uninitialised.
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
22a0b45
..
6c1aeb7
100644
(file)
--- 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