freebsd-nq/sbin/routed
Patrick Kelsey 2f8c6c0a58 Fix userland tools that don't check the format of routing socket
messages before accessing message fields that may not be present,
removing dead/duplicate/misleading code along the way.

Document the message format for each routing socket message in
route.h.

Fix a bug in usr.bin/netstat introduced in r287351 that resulted in
pointer computation with essentially random 16-bit offsets and
dereferencing of the results.

Reviewed by:	ae
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D10330
2017-04-16 19:17:10 +00:00
..
rtquery Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
defs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
if.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
input.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
main.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile
Makefile.depend
Makefile.inc
output.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
parms.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pathnames.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
radix.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
radix.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rdisc.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
routed.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
table.c Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00
trace.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00