FreeBSD Bugzilla – Attachment 13406 Details for
Bug 25541
Bug in the -CURRENT 'wall' command
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 695 bytes, created by
nnd
on 2001-03-05 11:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
nnd
Created:
2001-03-05 11:30:00 UTC
Size:
695 bytes
patch
obsolete
>Index: src/usr.bin/wall/ttymsg.c >=================================================================== >RCS file: /scratch/CVS/src/usr.bin/wall/ttymsg.c,v >retrieving revision 1.7 >diff -b -u -r1.7 ttymsg.c >--- src/usr.bin/wall/ttymsg.c 2001/03/01 05:43:12 1.7 >+++ src/usr.bin/wall/ttymsg.c 2001/03/05 11:11:56 >@@ -71,7 +71,7 @@ > if (iovcnt > sizeof(localiov) / sizeof(localiov[0])) > return ("too many iov's (change code in wall/ttymsg.c)"); > >- strlcat(device, line, sizeof(device)); >+ strlcpy(device + sizeof(_PATH_DEV) - 1, line, sizeof(device)); > if (strchr(device + sizeof(_PATH_DEV) - 1, '/')) { > /* A slash is an attempt to break security... */ > (void) snprintf(errbuf, sizeof(errbuf),
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 25541
: 13406