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)
Sat, Jan 10, 3:15 PM
Unknown Object (File)
Sat, Jan 10, 5:47 AM
Unknown Object (File)
Fri, Dec 19, 11:44 PM
Unknown Object (File)
Dec 10 2025, 1:01 AM
Unknown Object (File)
Dec 9 2025, 11:29 PM
Unknown Object (File)
Dec 9 2025, 9:10 AM
Unknown Object (File)
Dec 6 2025, 10:00 PM
Unknown Object (File)
Nov 26 2025, 2:17 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