Bugzilla – Attachment 685 Details for
Bug 896
Improper Input buffer handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix this problem by limiting input buffer to 0x10000
openssh-3.8.1p1-inputbufferfix.diff (text/plain), 808 bytes, created by
Michael Stevens
on 2004-07-20 04:23:18 AEST
(
hide
)
Description:
Proposed patch to fix this problem by limiting input buffer to 0x10000
Filename:
MIME Type:
Creator:
Michael Stevens
Created:
2004-07-20 04:23:18 AEST
Size:
808 bytes
patch
obsolete
>diff -u openssh-3.8.1p1/channels.c openssh-3.8.1p1-bugfix/channels.c >--- openssh-3.8.1p1/channels.c 2004-01-20 19:02:09.000000000 -0500 >+++ openssh-3.8.1p1-bugfix/channels.c 2004-07-13 09:37:20.000000000 -0400 >@@ -702,6 +702,8 @@ > channel_pre_open(Channel *c, fd_set * readset, fd_set * writeset) > { > u_int limit = compat20 ? c->remote_window : packet_get_maxsize(); >+ if (limit > 0x10000) >+ limit = 0x10000; > > if (c->istate == CHAN_INPUT_OPEN && > limit > 0 && >Common subdirectories: openssh-3.8.1p1/contrib and openssh-3.8.1p1-bugfix/contrib >Common subdirectories: openssh-3.8.1p1/openbsd-compat and openssh-3.8.1p1-bugfix/openbsd-compat >Common subdirectories: openssh-3.8.1p1/regress and openssh-3.8.1p1-bugfix/regress >Common subdirectories: openssh-3.8.1p1/scard and openssh-3.8.1p1-bugfix/scard
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 896
:
685
|
817
|
818
|
819