From owner-cvs-all Mon Oct 15 11:21:14 2001 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 51F4A37B405; Mon, 15 Oct 2001 11:21:08 -0700 (PDT) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9FIL8t23756; Mon, 15 Oct 2001 11:21:08 -0700 (PDT) (envelope-from sobomax) Message-Id: <200110151821.f9FIL8t23756@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 15 Oct 2001 11:21:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/create main.c src/usr.sbin/pkg_install/info main.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 sobomax 2001/10/15 11:21:08 PDT Modified files: usr.sbin/pkg_install/create main.c usr.sbin/pkg_install/info main.c Log: Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer. Prompted by: dd MFC after: 2 weeks Revision Changes Path 1.29 +1 -1 src/usr.sbin/pkg_install/create/main.c 1.34 +1 -1 src/usr.sbin/pkg_install/info/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message