freebsd-skq/sys/netpfil
Kristof Provost 180b0dcbbb pf: Validate psn_len in DIOCGETSRCNODES
psn_len is controlled by user space, but we allocated memory based on it.
Check how much memory we might need at most (i.e. how many source nodes we
have) and limit the allocation to that.

Reported by:	markj
MFC after:	1 week
2019-01-22 02:13:33 +00:00
..
ipfw Relax requirement to packet size of CARP protocol and remove version check. 2019-01-11 01:54:15 +00:00
pf pf: Validate psn_len in DIOCGETSRCNODES 2019-01-22 02:13:33 +00:00