One of the recent port forwarding crash reports contained details
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Jun 2002 16:52:35 +0000 (16:52 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Jun 2002 16:52:35 +0000 (16:52 +0000)
commit013dd8c0a20773d8895ec636d819f23c08f6c55a
treec07c4ad6da1ce633fb52cce1004629b32878b38c
parent04627c33eaedaab98bce22ed21103a0b8324cff6
One of the recent port forwarding crash reports contained details
which suggested bufchain_prefix() was finding an improperly
initialised bufchain structure. Looking at the code, this may indeed
have been able to happen, since the bufchain in a SOCKDATA_DORMANT
channel was not initialised until CHANNEL_OPEN_CONFIRMATION was
received. This seems utterly daft, so I now call bufchain_init()
when the channel structure is actually created. With any luck the
crash will mystically disappear now (I wasn't able to reproduce it
myself).

git-svn-id: svn://svn.tartarus.org/sgt/putty@1735 cda61777-01e9-0310-a592-d414129be87e
ssh.c