mirror of
https://github.com/clearml/dropbear
synced 2025-03-06 20:12:49 +00:00
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:
parent
299d26dab7
commit
b98d13effb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user