Merge branch '3.0'

This commit is contained in:
terrafrost 2021-03-16 06:18:29 -05:00
commit 6ade44a687

View File

@ -2974,7 +2974,6 @@ class SFTP extends SSH2
$tempLength = $length;
$tempLength-= strlen($this->packet_buffer);
// 256 * 1024 is what SFTP_MAX_MSG_LENGTH is set to in OpenSSH's sftp-common.h
if ($tempLength > 256 * 1024) {
throw new \RuntimeException('Invalid Size');