mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Richard Clark points out a missing check for ssh->mainchan being NULL.
[originally from svn r8502]
This commit is contained in:
parent
c7ac5745ab
commit
d58d1692b8
2
ssh.c
2
ssh.c
@ -8570,7 +8570,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
|
||||
ssh->packet_dispatch[SSH2_MSG_CHANNEL_OPEN] =
|
||||
ssh2_msg_channel_open;
|
||||
|
||||
if (ssh->cfg.ssh_simple) {
|
||||
if (ssh->mainchan && ssh->cfg.ssh_simple) {
|
||||
/*
|
||||
* This message indicates to the server that we promise
|
||||
* not to try to run any other channel in parallel with
|
||||
|
Loading…
Reference in New Issue
Block a user