freebsd-src/sbin/ifconfig
Brooks Davis a4fa9864bf Use IFNAMSIZ instead of a magic value for the length of an interface
name.

Prevent the kernel from potentially overflowing the interface name
variable.  The size argument of strlcpy is complex because the name is
not null-terminated in sdl_data.
2004-01-27 01:43:14 +00:00
..
ifconfig.8 By popular demand, added the "static ARP" per-interface option. 2003-10-01 08:32:37 +00:00
ifconfig.c Use IFNAMSIZ instead of a magic value for the length of an interface 2004-01-27 01:43:14 +00:00
ifconfig.h Use IFNAMSIZ instead of a magic value for the length of an interface 2004-01-27 01:43:14 +00:00
ifieee80211.c We want the length of the string, not the size of its pointer. 2003-11-01 00:03:20 +00:00
ifmac.c Rename ifconfig's "mac" argument to "maclabel" to prevent confusion 2002-10-23 22:50:04 +00:00
ifmedia.c 802.11 mode bits are now masks; convert to suit 2004-01-15 15:19:19 +00:00
ifvlan.c De-__P, use ansi function definitions 2002-04-18 17:14:09 +00:00
Makefile Teach ifconfig(8) how to print and set the MAC labels on network 2002-10-23 03:40:47 +00:00