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
F152430422: D47551.id.diff
Tue, Apr 14, 10:17 PM
Unknown Object (File)
Tue, Apr 14, 11:58 AM
Unknown Object (File)
Sat, Apr 11, 11:08 PM
Unknown Object (File)
Thu, Apr 9, 11:51 PM
Unknown Object (File)
Mon, Apr 6, 8:14 AM
Unknown Object (File)
Sun, Apr 5, 7:36 AM
Unknown Object (File)
Sun, Apr 5, 7:30 AM
Unknown Object (File)
Fri, Apr 3, 7:00 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