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
F174706472: D46583.id.diff
Mon, Oct 5, 9:03 AM
Unknown Object (File)
Sun, Oct 4, 1:02 AM
Unknown Object (File)
Fri, Oct 2, 7:46 PM
Unknown Object (File)
Tue, Sep 29, 10:21 PM
Unknown Object (File)
Fri, Sep 11, 7:59 PM
Unknown Object (File)
Aug 29 2026, 11:08 AM
Unknown Object (File)
Aug 24 2026, 5:38 PM
Unknown Object (File)
Aug 17 2026, 5:05 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