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
F102274422: D46583.id143079.diff
Sat, Nov 9, 11:07 PM
F102256086: D46583.diff
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)
Sun, Oct 27, 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59371
Build 56258: arc lint + arc unit