svn commit: r299867 - head/usr.sbin/rtadvd

Don Lewis truckman at FreeBSD.org
Sun May 15 22:08:09 UTC 2016


On 15 May, To: src-committers at 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


More information about the svn-src-all mailing list