Date: Wed, 22 May 2002 21:19:23 -0700 (PDT) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libcam camlib.c Message-ID: <200205230419.g4N4JNN03550@freefall.freebsd.org>
index | next in thread | raw e-mail
ken 2002/05/22 21:19:23 PDT
Modified files: (Branch: RELENG_4)
lib/libcam camlib.c
Log:
MFC, rev 1.11:
string cleanup:
- fix a few places where buffers might not get NUL terminated (unlike
current, there is not the potential for an overrun in -stable)
- change strncpy() and strcpy() calls to strlcpy()
- use sizeof(string[]) instead of STRING_LEN to avoid future problems
- get rid of an unused variable
Thanks to BDE for pointing out some of the problems.
Approved by: re (bmah), security-officer (kris)
Revision Changes Path
1.8.2.2 +13 -15 src/lib/libcam/camlib.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205230419.g4N4JNN03550>
