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, Oct 15, 3:58 PM
Unknown Object (File)
Mon, Oct 13, 10:51 AM
Unknown Object (File)
Thu, Oct 9, 3:48 PM
Unknown Object (File)
Thu, Oct 9, 3:29 PM
Unknown Object (File)
Thu, Oct 9, 3:29 PM
Unknown Object (File)
Thu, Oct 9, 3:28 PM
Unknown Object (File)
Wed, Oct 8, 2:40 AM
Unknown Object (File)
Sat, Oct 4, 12:20 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