Don't send anything in response to a SSH_MSG_CHANNEL_REQUEST if we have

already sent a SSH_MSG_CHANNEL_CLOSE. This fixes a bug triggered by more
recent versions of putty with tcp fowarding and window adjustment request
messages.

--HG--
extra : convert_revision : 10b2f286b9886364db39dfbb4f8f46e49e345d87
This commit is contained in:
Matt Johnston 2008-09-23 12:03:01 +00:00
parent 299d26dab7
commit b98d13effb

View File

@ -572,6 +572,11 @@ void recv_msg_channel_request() {
channel = getchannel();
if (channel->sent_close) {
TRACE(("leave recv_msg_channel_request: already closed channel"))
return;
}
if (channel->type->reqhandler) {
channel->type->reqhandler(channel);
} else {