mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
Fixed channel opening failures (infinite loop)
This commit is contained in:
@@ -201,7 +201,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open_fail){
|
|||||||
(long unsigned int) ntohl(code),
|
(long unsigned int) ntohl(code),
|
||||||
error);
|
error);
|
||||||
SAFE_FREE(error);
|
SAFE_FREE(error);
|
||||||
|
channel->state=SSH_CHANNEL_STATE_OPEN_DENIED;
|
||||||
return SSH_PACKET_USED;
|
return SSH_PACKET_USED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user