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)
Sat, Feb 22, 2:16 PM
Unknown Object (File)
Sat, Feb 22, 2:02 PM
Unknown Object (File)
Sat, Feb 22, 1:41 PM
Unknown Object (File)
Sun, Feb 9, 3:50 AM
Unknown Object (File)
Jan 27 2025, 2:22 AM
Unknown Object (File)
Jan 26 2025, 4:15 AM
Unknown Object (File)
Jan 26 2025, 2:59 AM
Unknown Object (File)
Jan 19 2025, 9:12 PM

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