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)
Tue, Jun 30, 2:20 PM
Unknown Object (File)
Fri, Jun 26, 12:24 AM
Unknown Object (File)
Sat, Jun 20, 12:43 AM
Unknown Object (File)
Fri, Jun 12, 11:25 AM
Unknown Object (File)
May 30 2026, 11:20 AM
Unknown Object (File)
May 29 2026, 11:38 PM
Unknown Object (File)
May 24 2026, 7:37 PM
Unknown Object (File)
May 22 2026, 4:02 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59371
Build 56258: arc lint + arc unit