Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 15:08:00 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@freebsd.org
Cc:        svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r299867 - head/usr.sbin/rtadvd
Message-ID:  <201605152208.u4FM80hP068938@gw.catspoiler.org>
In-Reply-To: <201605152206.u4FM6MQU005786@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605152208.u4FM80hP068938>