mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +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),
|
||||
error);
|
||||
SAFE_FREE(error);
|
||||
|
||||
channel->state=SSH_CHANNEL_STATE_OPEN_DENIED;
|
||||
return SSH_PACKET_USED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user