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)
Wed, Nov 26, 2:17 PM
Unknown Object (File)
Sun, Nov 23, 12:32 PM
Unknown Object (File)
Thu, Nov 20, 3:11 AM
Unknown Object (File)
Wed, Nov 5, 12:42 PM
Unknown Object (File)
Oct 30 2025, 9:17 AM
Unknown Object (File)
Oct 30 2025, 12:20 AM
Unknown Object (File)
Oct 27 2025, 8:22 PM
Unknown Object (File)
Oct 25 2025, 11:46 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