FreeBSD Bugzilla – Attachment 130650 Details for
Bug 174631
[libexec] [patch] Sizeof ebuf is wrong in tftp-io.c .
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 512 bytes, created by
henning.petersen
on 2012-12-22 12:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
henning.petersen
Created:
2012-12-22 12:40:00 UTC
Size:
512 bytes
patch
obsolete
>diff -u -p -r1.8 tftp-io.c >--- libexec/tftpd/tftp-io.c 17 Nov 2012 01:50:12 -0000 1.8 >+++ libexec/tftpd/tftp-io.c 22 Dec 2012 11:17:19 -0000 >@@ -87,14 +87,13 @@ errtomsg(int error) > { > static char ebuf[40]; > struct errmsg *pe; >- char buf[MAXPKTSIZE]; > > if (error == 0) > return ("success"); > for (pe = errmsgs; pe->e_code >= 0; pe++) > if (pe->e_code == error) > return (pe->e_msg); >- snprintf(ebuf, sizeof(buf), "error %d", error); >+ snprintf(ebuf, sizeof(ebuf), "error %d", error); > return (ebuf); > }
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 174631
: 130650