Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2021-05-18 22:02:48 -05:00
commit 4b2bdfa408

View File

@ -3500,6 +3500,10 @@ class SSH2
// only called when we've already logged in
if (($this->bitmap & self::MASK_CONNECTED) && $this->isAuthenticated()) {
if (is_bool($payload)) {
return $payload;
}
switch (ord($payload[0])) {
case NET_SSH2_MSG_CHANNEL_REQUEST:
if (strlen($payload) == 31) {