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

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2021-07-05 08:34:18 -05:00
commit 6b0f0b4896

View File

@ -3108,6 +3108,9 @@ 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) {