[openssh-commits] [openssh] 04/04: remove buffer len workaround for NetBSD 4.x

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Jan 11 11:48:46 AEDT 2023


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786
Author: Damien Miller <djm at mindrot.org>
Date:   Wed Jan 11 11:45:17 2023 +1100

    remove buffer len workaround for NetBSD 4.x
    
    Switching to from pipes to a socketpair for communicating with the
    ssh process avoids the (kernel bug?) problem.
---
 scp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scp.c b/scp.c
index 543d3b1f..1adff5ce 100644
--- a/scp.c
+++ b/scp.c
@@ -180,7 +180,7 @@ pid_t do_cmd_pid = -1;
 pid_t do_cmd_pid2 = -1;
 
 /* SFTP copy parameters */
-size_t sftp_copy_buflen = 32768; /* XXX NetBSD4 hangs with default value */
+size_t sftp_copy_buflen;
 size_t sftp_nrequests;
 
 /* Needed for sftp */

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list