]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
One of the recent port forwarding crash reports contained details
authorSimon Tatham <anakin@pobox.com>
Sat, 15 Jun 2002 16:52:35 +0000 (16:52 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Jun 2002 16:52:35 +0000 (16:52 +0000)
commit3f8d151c5a26fec09708b2a51b57aabf3d7bd38f
treec07c4ad6da1ce633fb52cce1004629b32878b38c
parent729512abc2a6209423511522709ae130d8b38ad9
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).

[originally from svn r1735]
ssh.c