Fixing 'Undefined array key' E_WARNING

This commit is contained in:
vansari 2022-10-21 10:45:21 +02:00
parent 2ed74533f4
commit 85c8e916d8

View File

@ -4331,7 +4331,7 @@ class SSH2
function _send_channel_packet($client_channel, $data)
{
while (strlen($data)) {
if (!$this->window_size_client_to_server[$client_channel]) {
if (!isset($this->window_size_client_to_server[$client_channel])) {
$this->bitmap^= self::MASK_WINDOW_ADJUST;
// using an invalid channel will let the buffers be built up for the valid channels
$this->_get_channel_packet(-1);