https://bugzilla.mindrot.org/show_bug.cgi?id=2948
--- Comment #11 from Damien Miller <[email protected]> --- 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. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
