freebsd-dev/sys/netpfil
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
..
ipfw Make TCP options parsing stricter. 2019-12-13 11:47:58 +00:00
pf pf: Add endline to all DPFPRINTF() 2019-11-24 13:53:36 +00:00