X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/a4a19e7324509aeb848531390fea53f9f5526d12..bb487ce20e2e8b2d0554ef1a394bf5a6dc6939ff:/ssh.c?ds=sidebyside diff --git a/ssh.c b/ssh.c index 852a2dad..3b4fcb2a 100644 --- 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,