[Bug 1528] New: sshd hangs when pasting more than 2k of text
    bugzilla-daemon at bugzilla.mindrot.org 
    bugzilla-daemon at bugzilla.mindrot.org
       
    Thu Oct  2 06:32:08 EST 2008
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=1528
           Summary: sshd hangs when pasting more than 2k of text
           Product: Portable OpenSSH
           Version: 5.1p1
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: doke at udel.edu
Created an attachment (id=1570)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1570)
patch for channels.c
On Solaris 9 and 10, on both sparc and i86pc, sshd hangs on an ioctl
TCGETS call after a large write to the pty.  Where large is anything
over about 2k.  So pasting 100 or so lines of text into vi will hang
the session.  
The cause is the tcgetattr call on line 1606 of channels.c provoking a
solaris bug.  It hangs forever after a large write to the pty.  The
workaround is to not make the call, assume the terminal is 
not echoing, and always send the random data packet.
-- 
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