mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
SFTP: get_channel_packet throws exceptions in 3.0
This commit is contained in:
parent
926d3545a2
commit
8186db7533
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user