~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a19e7
)
Fix a segfault in agent forwarding code
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Sep 2000 11:16:47 +0000
(11:16 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Sep 2000 11:16:47 +0000
(11:16 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@633
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
852a2da
..
3b4fcb2
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-1671,6
+1671,7
@@
static void ssh1_protocol(unsigned char *in, int inlen, int ispkt) {
c->localid = i;
c->closes = 0;
c->type = SSH1_SMSG_AGENT_OPEN; /* identify channel type */
+ c->u.a.lensofar = 0;
add234(ssh_channels, c);
send_packet(SSH1_MSG_CHANNEL_OPEN_CONFIRMATION,
PKT_INT, c->remoteid, PKT_INT, c->localid,