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
F154739337: D35573.id107287.diff
Wed, Apr 29, 8:31 AM
F154737058: D35573.id107287.diff
Wed, Apr 29, 8:26 AM
Unknown Object (File)
Sun, Apr 19, 11:45 AM
Unknown Object (File)
Sat, Apr 18, 7:36 AM
Unknown Object (File)
Tue, Apr 14, 2:00 PM
Unknown Object (File)
Sun, Apr 12, 2:21 AM
Unknown Object (File)
Sun, Apr 12, 2:16 AM
Unknown Object (File)
Sat, Apr 11, 1:54 AM

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