Page MenuHomeFreeBSD

Fix routing sysctl leaks.
ClosedPublic

Authored by markj on Nov 25 2018, 10:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 7:10 AM
Unknown Object (File)
Fri, Apr 3, 5:55 AM
Unknown Object (File)
Tue, Mar 31, 12:25 PM
Unknown Object (File)
Tue, Mar 31, 5:10 AM
Unknown Object (File)
Tue, Mar 24, 3:29 AM
Unknown Object (File)
Thu, Mar 19, 1:00 AM
Unknown Object (File)
Mon, Mar 16, 7:11 PM
Unknown Object (File)
Feb 27 2026, 10:16 PM
Subscribers

Details

Summary

Some of the structures exported by sysctl_rtsock() contain padding
fields. A few of these were explicitly zeroed, but some were not. For
now, fix the problem by identifying the remaining pad fields and
clearing them.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable