cvs commit: src/usr.sbin/syslogd syslogd.c
David Malone
dwmalone at FreeBSD.org
Sat May 29 16:40:41 PDT 2004
dwmalone 2004/05/29 16:40:31 PDT
FreeBSD src repository
Modified files:
usr.sbin/syslogd syslogd.c
Log:
Some string fixes.
1) Use strncpy on strings out of utmp.
2) Avoid running off the start of one string while removing white space.
(I've used slightly different code to OpenBSD here.)
3) Ignore trailing spaces in the priority.
PR: 67139
Submitted by: Xin LI <delphij at FreeBSD.org.cn>
Obtained from: OpenBSD
Revision Changes Path
1.125 +9 -4 src/usr.sbin/syslogd/syslogd.c
More information about the cvs-src
mailing list