HardenedBSD/src 5924183sys/netpfil/pf pf.c

pf: explicitly NULL state key pointers

After the pf_state_insert() call we may not use these pointers again.
Explicitly NULL them to ensure we don't.
Also NULL them out if we free the keys directly.

Reviewed by:    glebius, markj
MFC after:      3 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D49553
DeltaFile
+4-0sys/netpfil/pf/pf.c
+4-01 files

UnifiedSplitRaw