When pf_get_translation() fails, it should leave *sn pointer pristine,
otherwise we will panic in pf_test_rule(). PR: 182557
This commit is contained in:
parent
aa27ed4569
commit
a830c4524d
@ -686,6 +686,7 @@ notrans:
|
||||
uma_zfree(V_pf_state_key_z, *nkp);
|
||||
uma_zfree(V_pf_state_key_z, *skp);
|
||||
*skp = *nkp = NULL;
|
||||
*sn = NULL;
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user