freebsd-src/sys/netpfil
Kristof Provost 221d459fbc pflow: handle unattached states
It's possible for states to be cleaned up (through pf_detach_state()) that
have not been fully attached. For example if there's an ID conflict during
pf_state_insert().

pflow exports states from pf_detach_state(), so it can get called on such
states, but did not account for this and could end up dereferencing a NULL
state key.

Check for this in export_pflow() and do not export unattached states.

See also:	https://redmine.pfsense.org/issues/15446
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2024-04-29 18:13:19 +02:00
..
ipfilter/netinet netpfil: Fix typos in source code comments 2024-04-18 16:17:10 +02:00
ipfw ipfw: Skip to the start of the loop when following a keep-state rule 2024-02-15 17:57:51 -08:00
pf pflow: handle unattached states 2024-04-29 18:13:19 +02:00