Date: Sun, 17 Mar 2002 23:14:59 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/xtend user.c xtend.c Message-ID: <200203180714.g2I7ExE74376@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2002/03/17 23:14:59 PST
Modified files:
libexec/xtend user.c xtend.c
Log:
o MAXPATHLEN is the correct constant to use for path names, it includes
the NULL.
o use snprintf in preference to unchecked strcat in a couple of places that
likely can't overflow. Makes it easier to grep for strcpy :-)
Revision Changes Path
1.11 +2 -4 src/libexec/xtend/user.c
1.13 +11 -15 src/libexec/xtend/xtend.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?200203180714.g2I7ExE74376>
