Andrey V. Elsukov 1ae74c1359 Make TCP options parsing stricter.
Rework tcpopts_parse() to be more strict. Use const pointer. Add length
checks for specific TCP options. The main purpose of the change is
avoiding of possible out of mbuf's data access.

Reported by:	Maxime Villard
Reviewed by:	melifaro, emaste
MFC after:	1 week
2019-12-13 11:47:58 +00:00
..
2019-12-10 18:14:50 +00:00
2019-12-10 18:14:50 +00:00
2019-12-06 16:53:42 +00:00
2019-09-27 19:17:40 +00:00
2019-12-10 18:14:50 +00:00
2019-12-10 14:07:05 +00:00
2019-12-13 11:21:28 +00:00