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:
parent
926d3545a2
commit
8186db7533
@ -2947,9 +2947,6 @@ class SFTP extends SSH2
|
|||||||
$this->packet_buffer = '';
|
$this->packet_buffer = '';
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($temp === false) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$this->packet_buffer.= $temp;
|
$this->packet_buffer.= $temp;
|
||||||
}
|
}
|
||||||
if (strlen($this->packet_buffer) < 4) {
|
if (strlen($this->packet_buffer) < 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user