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
..
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-04 20:35:34 +00:00
2016-01-21 18:41:55 +00:00
2017-03-11 04:00:27 +00:00
2017-03-12 03:43:28 +00:00
2017-03-10 04:24:21 +00:00
2015-08-01 10:40:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-01-04 00:39:06 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2017-04-04 21:36:13 +00:00
2015-06-13 19:20:56 +00:00
2017-01-28 02:22:15 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-03-19 16:17:42 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-02 11:30:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-03-11 04:03:13 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 02:22:15 +00:00
2017-02-10 19:17:10 +00:00
2015-06-13 19:20:56 +00:00
2017-03-20 22:36:28 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-03-23 22:06:06 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2017-03-25 10:47:58 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-01 04:12:24 +00:00
2017-03-01 04:13:31 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2016-09-30 20:35:12 +00:00
2017-02-28 23:42:47 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-28 23:42:47 +00:00
2015-08-12 10:34:05 +00:00
2015-09-17 05:06:34 +00:00
2015-09-03 07:18:52 +00:00
2015-06-13 19:20:56 +00:00
2017-01-28 02:22:15 +00:00