From owner-cvs-all Mon May 13 21:32: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57E1F37B403; Mon, 13 May 2002 21:32:02 -0700 (PDT) Received: (from ken@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4E4W2l57563; Mon, 13 May 2002 21:32:02 -0700 (PDT) (envelope-from ken) Message-Id: <200205140432.g4E4W2l57563@freefall.freebsd.org> From: "Kenneth D. Merry" Date: Mon, 13 May 2002 21:32:02 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libcam camlib.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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