Date: Mon, 2 Dec 2002 12:29:08 -0800 (PST) From: Peter Pentchev <roam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/raycontrol raycontrol.c Message-ID: <200212022029.gB2KT8KP071217@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
roam 2002/12/02 12:29:08 PST
Modified files:
usr.sbin/raycontrol raycontrol.c
Log:
Replace the remaining strcpy() instances with strlcpy(), fixing a segfault
when parsing a malformed command-line parameter.
Rearrange a risky usage of sprintf() in a loop.
Reported by: phrail@division7.us via the vuln-dev mailing list
Approved by: re (rwatson)
Revision Changes Path
1.4 +7 -9 src/usr.sbin/raycontrol/raycontrol.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212022029.gB2KT8KP071217>
