[Bug 1528] sshd hangs when pasting more than 2k of text

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Oct 2 08:02:31 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1528





--- Comment #1 from Doke Scott <doke at udel.edu>  2008-10-02 08:02:30 ---
Created an attachment (id=1571)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1571)
alternate patch for channels.c

The ioctl is failing partially because the wfd file descriptor isn't
actually a pty.  It's being incorrectly flagged as one in
channel_register_fds() which simply trusts it's caller.  Also the test
on line 1605 is checking to see if rfd is a pty, before applying the
ioctl to wfd.  

So this will also fix the problem, but might not be as secure because
it doesn't send the ignored random data packets.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list