[openssh-commits] [openssh] branch master updated (c8eb3941 -> aacfd676)
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon May 1 08:56:18 AEST 2023
This is an automated email from the git hooks/post-receive script.
djm pushed a change to branch master
in repository openssh.
from c8eb3941 upstream: Check for ProxyJump=none in CanonicalizeHostname logic.
new aacfd676 upstream: adjust ftruncate() logic to handle servers that reorder
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Detailed log of new commits:
commit aacfd6767497b8fa6d41ecdd3f8e265d1e9ef1f6
Author: djm at openbsd.org <djm at openbsd.org>
Date: Sun Apr 30 22:54:22 2023 +0000
upstream: adjust ftruncate() logic to handle servers that reorder
requests.
sftp/scp will ftruncate the destination file after a transfer completes,
to deal with the case where a longer destination file already existed.
We tracked the highest contiguous block transferred to deal with this
case, but our naive tracking doesn't deal with servers that reorder
requests - a misfeature strictly permitted by the protocol but seldom
implemented.
Adjust the logic to ftruncate() at the highest absolute block received
when the transfer is successful. feedback deraadt@ ok markus@
prompted by https://github.com/openssh/openssh-portable/commit/9b733#commitcomment-110679778
OpenBSD-Commit-ID: 4af7fac75958ad8507b4fea58706f3ff0cfddb1b
Summary of changes:
sftp-client.c | 50 +++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 39 insertions(+), 11 deletions(-)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list