From owner-cvs-all Mon Dec 16 0:39:43 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B62737B401; Mon, 16 Dec 2002 00:39:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087EF43EB2; Mon, 16 Dec 2002 00:39:42 -0800 (PST) (envelope-from roam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBG8dfmV015906; Mon, 16 Dec 2002 00:39:41 -0800 (PST) (envelope-from roam@repoman.freebsd.org) Received: (from roam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBG8dfhC015905; Mon, 16 Dec 2002 00:39:41 -0800 (PST) Message-Id: <200212160839.gBG8dfhC015905@repoman.freebsd.org> From: Peter Pentchev Date: Mon, 16 Dec 2002 00:39:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/raycontrol raycontrol.c X-FreeBSD-CVS-Branch: RELENG_4 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 roam 2002/12/16 00:39:41 PST Modified files: (Branch: RELENG_4) usr.sbin/raycontrol raycontrol.c Log: MFC rev. 1.4: Replace the remaining strcpy() instances with strlcpy(), fixing a segfault when parsing a malformed command-line parameter. Rearrange a risky usage of sprintf() in a loop. Revision Changes Path 1.1.2.3 +7 -9 src/usr.sbin/raycontrol/raycontrol.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message