From cd5e5126ca313efd4add44361dafc5ac13e06881 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 16 Mar 2021 06:18:19 -0500 Subject: [PATCH] SFTP: CS adjustment --- phpseclib/Net/SFTP.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index e65b3c86..bea04714 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -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');