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, Jun 8, 6:32 PM
Unknown Object (File)
Thu, Jun 4, 7:42 PM
Unknown Object (File)
May 20 2026, 11:08 PM
Unknown Object (File)
May 16 2026, 3:03 AM
Unknown Object (File)
May 14 2026, 6:16 AM
Unknown Object (File)
May 13 2026, 10:21 PM
Unknown Object (File)
May 13 2026, 10:13 PM
Unknown Object (File)
May 11 2026, 7:29 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