git: ifconfig(8): Use strlcpy() instead of strncpy()

Aaron LI aly at crater.dragonflybsd.org
Sat Aug 4 18:49:40 PDT 2018


commit 80d2947bc9bb9395f7b2e028b5582c23a2858812
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Mar 23 09:37:13 2018 +0800

    ifconfig(8): Use strlcpy() instead of strncpy()

Summary of changes:
 sbin/ifconfig/af_inet.c     |  4 ++--
 sbin/ifconfig/ifcarp.c      |  4 ++--
 sbin/ifconfig/ifclone.c     |  4 ++--
 sbin/ifconfig/ifconfig.c    | 20 ++++++++++----------
 sbin/ifconfig/ifieee80211.c | 20 ++++++++++----------
 sbin/ifconfig/ifmedia.c     | 11 +++++------
 sbin/ifconfig/ifvlan.c      |  2 +-
 7 files changed, 32 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/80d2947bc9bb9395f7b2e028b5582c23a2858812


-- 
DragonFly BSD source repository


More information about the Commits mailing list