freebsd-dev/sys/netpfil
Kristof Provost 98a9874f7b pf: Fix a crash in low-memory situations
If the call to pf_state_key_clone() in pf_get_translation() fails (i.e. there's
no more memory for it) it frees skp. This is wrong, because skp is a
pf_state_key **, so we need to free *skp, as is done later in the function.
Getting it wrong means we try to free a stack variable of the calling
pf_test_rule() function, and we panic.
2017-03-06 23:41:23 +00:00
..
ipfw Fix the build. Use new ipfw_lookup_table() in the nat64 too. 2017-03-06 00:41:59 +00:00
pf pf: Fix a crash in low-memory situations 2017-03-06 23:41:23 +00:00