From 86c00070781da434b29a2237800c8d88859f7268 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 14 Feb 2022 17:42:49 -0600 Subject: [PATCH] SFTP: backport fix from master --- phpseclib/Net/SFTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index fe75e778..eaa403fa 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -3026,7 +3026,7 @@ class SFTP extends SSH2 $attr = []; list($attr[$key]) = Strings::unpackSSH2('Q', $response); if ($flags & NET_SFTP_ATTR_SUBSECOND_TIMES) { - list($attr[key . '-nseconds']) = Strings::unpackSSH2('N', $response); + list($attr[$key . '-nseconds']) = Strings::unpackSSH2('N', $response); } return $attr; }