From owner-svn-src-head@freebsd.org Sun May 15 22:08:09 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D15F1B3B445; Sun, 15 May 2016 22:08:09 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C3921484; Sun, 15 May 2016 22:08:09 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u4FM80hP068938; Sun, 15 May 2016 15:08:04 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201605152208.u4FM80hP068938@gw.catspoiler.org> Date: Sun, 15 May 2016 15:08:00 -0700 (PDT) From: Don Lewis Subject: Re: svn commit: r299867 - head/usr.sbin/rtadvd To: src-committers@freebsd.org cc: svn-src-all@freebsd.org, svn-src-head@freebsd.org In-Reply-To: <201605152206.u4FM6MQU005786@repo.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 22:08:09 -0000 On 15 May, To: src-committers@freebsd.org wrote: > Author: truckman > Date: Sun May 15 22:06:21 2016 > New Revision: 299867 > URL: https://svnweb.freebsd.org/changeset/base/299867 > > Log: > Use strlcpy() instead of strncpy() when copying ifname to ensure > that it is NUL terminated. Additional NUL padding is not required > for short names. > > MFC after: 1 week > > Modified: > head/usr.sbin/rtadvd/config.c > head/usr.sbin/rtadvd/if.c Reported by: Coverity CID: 974860