freebsd-dev/usr.sbin/ndp
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
..
Makefile usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
ndp.8 Fix ndp(8) -f flag parsing 2014-05-09 14:24:02 +00:00
ndp.c Fix userland tools that don't check the format of routing socket 2017-04-16 19:17:10 +00:00