Date: Mon, 13 May 2002 21:32:02 -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: <200205140432.g4E4W2l57563@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2002/05/13 21:32:02 PDT Modified files: lib/libcam camlib.c Log: string cleanup: - fix a potential overrun made worse by rev 1.5 of camlib.h - 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. MFC after: 2 weeks Revision Changes Path 1.11 +12 -14 src/lib/libcam/camlib.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?200205140432.g4E4W2l57563>