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, Nov 9, 11:07 PM
Unknown Object (File)
Sat, Nov 9, 4:22 PM
Unknown Object (File)
Wed, Nov 6, 7:00 AM
Unknown Object (File)
Fri, Nov 1, 1:01 AM
Unknown Object (File)
Oct 27 2024, 1:30 PM
Unknown Object (File)
Oct 9 2024, 8:38 AM
Unknown Object (File)
Oct 2 2024, 11:05 AM
Unknown Object (File)
Sep 19 2024, 8:21 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 Not Applicable
Unit
Tests Not Applicable