cvs commit: src/sbin/ifconfig ifconfig.c
Brooks Davis
brooks at FreeBSD.org
Sat Jan 31 14:59:04 PST 2004
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
More information about the cvs-all
mailing list