Date: Sat, 31 Jan 2004 14:59:03 -0800 (PST) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <200401312259.i0VMx3Ja059484@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2004/01/31 14:59:03 PST
FreeBSD src repository
Modified files:
sbin/ifconfig ifconfig.c
Log:
Use memcpy plus a manual NUL termination when copying the interface name
from the sdl because strlcpy requires that the source string be
NUL-terminated unlike strncpy.
Submitted by: Peter Jeremy <PeterJeremy at optushome dot com dot au>
Revision Changes Path
1.94 +5 -3 src/sbin/ifconfig/ifconfig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401312259.i0VMx3Ja059484>
