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)
Thu, Jan 9, 9:09 PM
Unknown Object (File)
Dec 10 2024, 11:48 PM
Unknown Object (File)
Dec 10 2024, 5:12 PM
Unknown Object (File)
Dec 3 2024, 8:05 PM
Unknown Object (File)
Nov 26 2024, 6:19 AM
Unknown Object (File)
Nov 22 2024, 4:37 AM
Unknown Object (File)
Nov 21 2024, 4:39 AM
Unknown Object (File)
Nov 20 2024, 10:18 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