Page MenuHomeFreeBSD

netlink: use size_t through the allocation KPI
ClosedPublic

Authored by glebius on Nov 13 2024, 9:55 PM.
Tags
None
Referenced Files
F171364562: D47551.diff
Thu, Sep 10, 5:03 PM
Unknown Object (File)
Mon, Sep 7, 10:46 PM
Unknown Object (File)
Mon, Sep 7, 10:36 PM
Unknown Object (File)
Mon, Sep 7, 3:28 AM
Unknown Object (File)
Tue, Sep 1, 6:10 PM
Unknown Object (File)
Tue, Sep 1, 4:07 AM
Unknown Object (File)
Tue, Aug 25, 4:47 AM
Unknown Object (File)
Fri, Aug 21, 4:48 PM
Subscribers

Details

Summary

This fixes some signedness bugs and potential underflows. The length of
nl_buf is still limited by UINT_MAX and this is asserted now.

Diff Detail

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