From owner-cvs-src@FreeBSD.ORG Sat Jan 31 14:59:04 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FA7916A4CE; Sat, 31 Jan 2004 14:59:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7220043D45; Sat, 31 Jan 2004 14:59:03 -0800 (PST) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0VMx30B059485; Sat, 31 Jan 2004 14:59:03 -0800 (PST) (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0VMx3Ja059484; Sat, 31 Jan 2004 14:59:03 -0800 (PST) (envelope-from brooks) Message-Id: <200401312259.i0VMx3Ja059484@repoman.freebsd.org> From: Brooks Davis Date: Sat, 31 Jan 2004 14:59:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ifconfig ifconfig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 22:59:04 -0000 brooks 2004/01/31 14:59:03 PST FreeBSD src repository Modified files: sbin/ifconfig ifconfig.c Log: Use memcpy plus a manual NUL termination when copying the interface name from the sdl because strlcpy requires that the source string be NUL-terminated unlike strncpy. Submitted by: Peter Jeremy Revision Changes Path 1.94 +5 -3 src/sbin/ifconfig/ifconfig.c