git: ifconfig(8): Use strlcpy() to set the ifr_name field.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Feb 2 03:10:05 PST 2018


commit 50b1feb647cb47bc892b445649a8cccb656902aa
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Jan 30 19:51:26 2018 +0200

    ifconfig(8): Use strlcpy() to set the ifr_name field.
    
    While there, change to use IFNAMSIZ too.

Summary of changes:
 sbin/ifconfig/af_inet6.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50b1feb647cb47bc892b445649a8cccb656902aa


-- 
DragonFly BSD source repository



More information about the Commits mailing list