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
Unknown Object (File)
Mon, Oct 5, 1:15 AM
Unknown Object (File)
Sun, Oct 4, 4:06 AM
Unknown Object (File)
Sat, Oct 3, 2:34 PM
Unknown Object (File)
Fri, Oct 2, 3:45 PM
Unknown Object (File)
Fri, Oct 2, 1:55 PM
Unknown Object (File)
Fri, Oct 2, 1:32 PM
Unknown Object (File)
Fri, Oct 2, 1:31 PM
Unknown Object (File)
Thu, Sep 24, 5:56 AM
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