FreeBSD Bugzilla – Attachment 9883 Details for
Bug 20053
lengthen ALIGNed buffer in telnet/commands.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 438 bytes, created by
Alex Kapranoff
on 2000-07-20 08:10:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alex Kapranoff
Created:
2000-07-20 08:10:05 UTC
Size:
438 bytes
patch
obsolete
>--- commands.c.ctm Thu Jul 20 10:18:03 2000 >+++ commands.c Thu Jul 20 10:43:41 2000 >@@ -2859,7 +2859,7 @@ > int *protop; > int *optp; > { >- static char buf[1024]; /*XXX*/ >+ static char buf[1024 + ALIGNBYTES]; /*XXX*/ > struct cmsghdr *cmsg; > #ifdef sysV88 > static IOPTN ipopt; >@@ -2901,7 +2901,7 @@ > lsrp = *cpp; > ep = lsrp + *lenp; > } else { >- *cpp = lsrp = ALIGN(buf); >+ *cpp = lsrp = (char *)ALIGN(buf); > ep = lsrp + 1024; > }
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 20053
: 9883