Page MenuHomeFreeBSD

Plug networking sysctl leaks.
ClosedPublic

Authored by markj on Nov 22 2018, 8:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 7:43 PM
Unknown Object (File)
Tue, Sep 29, 1:33 PM
Unknown Object (File)
Mon, Sep 21, 7:42 PM
Unknown Object (File)
Mon, Sep 21, 11:21 AM
Unknown Object (File)
Sun, Sep 20, 5:06 PM
Unknown Object (File)
Sun, Sep 20, 4:48 PM
Unknown Object (File)
Sun, Sep 20, 4:06 PM
Unknown Object (File)
Sep 2 2026, 7:00 PM
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

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