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)
Fri, Jan 3, 11:24 AM
Unknown Object (File)
Thu, Jan 2, 5:48 PM
Unknown Object (File)
Dec 6 2024, 11:25 PM
Unknown Object (File)
Dec 3 2024, 7:17 PM
Unknown Object (File)
Nov 28 2024, 1:00 PM
Unknown Object (File)
Nov 9 2024, 11:07 PM
Unknown Object (File)
Nov 9 2024, 4:22 PM
Unknown Object (File)
Nov 6 2024, 7:00 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