Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52622 Details for
Bug 83596
{netkit-telnetd|telnet-bsd|mit-krb5|heimdal?} information disclosure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
telnet-slc.patch
telnet-slc.patch (text/plain), 807 bytes, created by
Sune Kloppenborg Jeppesen (RETIRED)
on 2005-03-03 22:13:30 UTC
(
hide
)
Description:
telnet-slc.patch
Filename:
MIME Type:
Creator:
Sune Kloppenborg Jeppesen (RETIRED)
Created:
2005-03-03 22:13:30 UTC
Size:
807 bytes
patch
obsolete
>--- telnet.c 28 Feb 2005 12:46:53 -0000 1.15 >+++ telnet.c 28 Feb 2005 13:02:24 -0000 >@@ -1326,6 +1326,7 @@ > } > > unsigned char slc_reply[128]; >+unsigned char const * const slc_reply_eom = &slc_reply[sizeof(slc_reply)]; > unsigned char *slc_replyp; > > void >@@ -1341,6 +1342,14 @@ > void > slc_add_reply(unsigned char func, unsigned char flags, cc_t value) > { >+ /* A sequence of up to 6 bytes my be written for this member of the SLC >+ * suboption list by this function. The end of negotiation command, >+ * which is written by slc_end_reply(), will require 2 additional >+ * bytes. Do not proceed unless there is sufficient space for these >+ * items. >+ */ >+ if (&slc_replyp[6+2] > slc_reply_eom) >+ return; > if ((*slc_replyp++ = func) == IAC) > *slc_replyp++ = IAC; > if ((*slc_replyp++ = flags) == IAC)
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 83596
:
52319
| 52622 |
54257