Date: Mon, 2 Sep 2002 13:24:23 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys libkern.h src/sys/conf files Message-ID: <20020902132423.B15010@Odin.AC.HMC.Edu> In-Reply-To: <200209022016.g82KGMtv027847@freefall.freebsd.org>; from brooks@FreeBSD.org on Mon, Sep 02, 2002 at 01:16:22PM -0700 References: <200209022016.g82KGMtv027847@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 02, 2002 at 01:16:22PM -0700, Brooks Davis wrote: > brooks 2002/09/02 13:16:22 PDT >=20 > Modified files: > sys/sys libkern.h=20 > sys/conf files=20 > Log: > Hook up libkern/strlcpy.c and libkern/strlcat.c after repocopy. Intrested parties should start attacking uses of strncat and strncpy. All uses of strncat in the kernel and most uses of strncpy are either wrong or hard to verify and should be converted to strl*. We should be able to eliminate strncat fairly easily. strncpy is a bit harder and may be used correctly for fixed width, non-NUL-terminated fields so I suspect we'll be keeping it around. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9c8j2XY6L6fI4GtQRAmvZAJ9TSSMraL6FPNJac/eJKJGeS9OlNgCg0CfL TZgqr8XYa/az1Muph7BAzos= =Hn2H -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- 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?20020902132423.B15010>