mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 18:20:49 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue