Page MenuHomeFreeBSD

pf: fix potential memory leaks in pf_create_state()
ClosedPublic

Authored by kp on Sep 7 2024, 9:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 6:41 PM
Unknown Object (File)
Fri, Nov 14, 1:47 AM
Unknown Object (File)
Wed, Nov 12, 4:37 AM
Unknown Object (File)
Oct 27 2025, 7:09 AM
Unknown Object (File)
Oct 26 2025, 4:40 PM
Unknown Object (File)
Oct 24 2025, 3:56 AM
Unknown Object (File)
Oct 24 2025, 3:56 AM
Unknown Object (File)
Oct 24 2025, 3:56 AM

Details

Summary

If we fail to init TCP (or SCTP) initialization we have to remember to free
state keys as well. They will not be freed for us when we free the state until
we've inserted the state (i.e. pf_insert_state()).

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable