[Bug 2948] implement "copy-data" sftp extension
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Fri Aug 28 13:49:19 AEST 2020
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=2948
--- Comment #11 from Damien Miller <djm at mindrot.org> ---
Comment on attachment 3344
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3344
sftp server copy-data extension
>+	/* Disallow reading & writing to the same handle */
>+	if (read_handle == write_handle || read_fd < 0 || write_fd < 0) {
Maybe mention here that this also ensures that both handles refer to
files rather than directories
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list