Page MenuHomeFreeBSD

Plug networking sysctl leaks.
ClosedPublic

Authored by markj on Nov 22 2018, 8:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 24 2026, 6:58 PM
Unknown Object (File)
Apr 24 2026, 12:08 AM
Unknown Object (File)
Apr 20 2026, 6:42 PM
Unknown Object (File)
Apr 16 2026, 12:28 PM
Unknown Object (File)
Apr 11 2026, 6:35 PM
Unknown Object (File)
Apr 10 2026, 12:49 AM
Unknown Object (File)
Apr 8 2026, 7:55 AM
Unknown Object (File)
Apr 7 2026, 4:22 AM
Subscribers

Details

Summary

Various networking sysctls don't zero-fill their output and thus leak
padding bytes, mostly from the stack. Based on a report I audited a
number of sysctl handlers, especially those which export pcblists, and
fixed a number of leaks, some of which are quite large.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21167
Build 20523: arc lint + arc unit