NetBSD/sbin/routed
dyoung 4287175475 Don't nul-terminate the interface name in a sockaddr_dl that is
part of an ifa_msghdr returned by sysctl(3), because that could
overwrite the ifam_len field of the following ifa_msgher.  Instead,
copy the interface name out of the sockaddr_dl, and then nul-terminate.
Fixes the bug reported by Frank Kardel on current-users@.  Thanks
Frank for reporting, and for testing the fix.
2007-08-14 03:39:19 +00:00
..
rtquery quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
Makefile Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
defs.h
if.c Don't nul-terminate the interface name in a sockaddr_dl that is 2007-08-14 03:39:19 +00:00
input.c change (mostly) int to socklen_t. GCC 4 doesn't like that int and 2006-05-09 20:18:05 +00:00
main.c
output.c Coverity CID 2742: Avoid NULL deref. 2006-03-21 21:50:44 +00:00
parms.c Coverity CID 2307: Possible memory leak. 2006-03-18 20:25:28 +00:00
pathnames.h
radix.c
radix.h
rdisc.c change (mostly) int to socklen_t. GCC 4 doesn't like that int and 2006-05-09 20:18:05 +00:00
routed.8
table.c
trace.c Coverity CID 1301: Return early if we could not open /dev/null 2006-03-22 02:23:11 +00:00