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)
Fri, Dec 19, 11:44 PM
Unknown Object (File)
Wed, Dec 10, 1:01 AM
Unknown Object (File)
Tue, Dec 9, 11:29 PM
Unknown Object (File)
Tue, Dec 9, 9:10 AM
Unknown Object (File)
Sat, Dec 6, 10:00 PM
Unknown Object (File)
Wed, Nov 26, 2:17 PM
Unknown Object (File)
Nov 23 2025, 12:32 PM
Unknown Object (File)
Nov 20 2025, 3:11 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