Rework tcpopts_parse() to be more strict. Add length checks for specific TCP options. The behavior is copied from tcp_input.c.
The main purpose of the change is avoiding of possible out of mbuf's data access.
Reported by: Maxime Villard
ae on Dec 10 2019, 12:43 PM.Authored by