From owner-cvs-all@FreeBSD.ORG Thu Jan 29 05:33:18 2004 Return-Path: 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 7E4DE16A4CE; Thu, 29 Jan 2004 05:33:18 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67EFC43D41; Thu, 29 Jan 2004 05:33:05 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0TDXiem020390; Thu, 29 Jan 2004 15:33:44 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0TDXhEg020388; Thu, 29 Jan 2004 15:33:43 +0200 (EET) (envelope-from ru) Date: Thu, 29 Jan 2004 15:33:42 +0200 From: Ruslan Ermilov To: Brooks Davis Message-ID: <20040129133342.GC19899@FreeBSD.org.ua> References: <200401270143.i0R1hEIO011023@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hxkXGo8AKqTJ+9QI" Content-Disposition: inline In-Reply-To: <200401270143.i0R1hEIO011023@repoman.freebsd.org> User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c ifconfig.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 13:33:18 -0000 --hxkXGo8AKqTJ+9QI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 26, 2004 at 05:43:14PM -0800, Brooks Davis wrote: > brooks 2004/01/26 17:43:14 PST >=20 > FreeBSD src repository >=20 > Modified files: > sbin/ifconfig ifconfig.c ifconfig.h=20 > Log: > Use IFNAMSIZ instead of a magic value for the length of an interface > name. > =20 > Prevent the kernel from potentially overflowing the interface name > variable. The size argument of strlcpy is complex because the name is > not null-terminated in sdl_data. > =20 Thanks, that way I won't forget it again. ;-) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --hxkXGo8AKqTJ+9QI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGQu2Ukv4P6juNwoRAvhZAJ4uEpH5tmMuWyKSiGh3tHOl5v4EEACdGtw2 gsYoemCQOj8LzG2cwTYXAEE= =Grs8 -----END PGP SIGNATURE----- --hxkXGo8AKqTJ+9QI--