Page MenuHomeFreeBSD

pf: reduce the risk of src/dst mis-use
ClosedPublic

Authored by kp on Jun 23 2022, 9:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 9, 5:57 AM
Unknown Object (File)
Wed, Jul 8, 2:52 PM
Unknown Object (File)
Mon, Jun 22, 4:22 PM
Unknown Object (File)
Thu, Jun 18, 8:43 AM
Unknown Object (File)
Jun 8 2026, 4:36 PM
Unknown Object (File)
May 3 2026, 9:33 AM
Unknown Object (File)
May 1 2026, 2:20 PM
Unknown Object (File)
May 1 2026, 12:16 PM

Details

Summary

NULL out src/dst and check them rather than relying of 'af' to indicate
these variables are valid.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable