Bugzilla – Attachment 1572 Details for
Bug 1528
sshd hangs when pasting more than 2k of text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Only generate fake echo packets for tty writes < 1k
openssh-solaris-ttybug.patch (text/plain), 643 bytes, created by
Darren Tucker
on 2008-10-02 11:15:13 AEST
(
hide
)
Description:
Only generate fake echo packets for tty writes < 1k
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2008-10-02 11:15:13 AEST
Size:
643 bytes
patch
obsolete
>Index: channels.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh/channels.c,v >retrieving revision 1.273 >diff -u -p -r1.273 channels.c >--- channels.c 16 Jul 2008 12:42:06 -0000 1.273 >+++ channels.c 2 Oct 2008 01:02:56 -0000 >@@ -1602,7 +1602,8 @@ channel_handle_wfd(Channel *c, fd_set *r > } > return -1; > } >- if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') { >+ if (compat20 && c->isatty && dlen >= 1 && dlen < 1024 && >+ buf[0] != '\r') { > if (tcgetattr(c->wfd, &tio) == 0 && > !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1528
:
1570
|
1571
|
1572
|
1677