1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-12 00:59:48 +01:00

SFTP: get_channel_packet throws exceptions in 3.0

This commit is contained in:
terrafrost 2021-07-05 08:35:39 -05:00
parent 926d3545a2
commit 8186db7533

View File

@ -2947,9 +2947,6 @@ class SFTP extends SSH2
$this->packet_buffer = '';
return false;
}
if ($temp === false) {
return false;
}
$this->packet_buffer.= $temp;
}
if (strlen($this->packet_buffer) < 4) {