Merge branch '3.0'

This commit is contained in:
terrafrost 2024-12-04 14:04:20 -06:00
commit 487bfa28e2

View File

@ -2721,6 +2721,8 @@ class SFTP extends SSH2
*/ */
protected function parseAttributes(string &$response): array protected function parseAttributes(string &$response): array
{ {
$attr = [];
if ($this->version >= 4) { if ($this->version >= 4) {
[$flags, $attr['type']] = Strings::unpackSSH2('NC', $response); [$flags, $attr['type']] = Strings::unpackSSH2('NC', $response);
} else { } else {