HomeFreeBSD

pf: fix memory leak in legacy getstate calls

Description

pf: fix memory leak in legacy getstate calls

If we fail to copy the data out we didn't free the temporary allocation.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 29 2025, 2:27 PM
Parents
rGaa790af10a9a: pf(4) when doing af-to translation for ICMP protocol sends packets
Branches
Unknown
Tags
Unknown