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, May 20, 11:08 PM
Unknown Object (File)
Sat, May 16, 3:03 AM
Unknown Object (File)
Thu, May 14, 6:16 AM
Unknown Object (File)
Wed, May 13, 10:21 PM
Unknown Object (File)
Wed, May 13, 10:13 PM
Unknown Object (File)
Mon, May 11, 7:29 AM
Unknown Object (File)
Fri, May 8, 8:32 AM
Unknown Object (File)
Apr 29 2026, 2:30 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