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)
Mon, Apr 7, 1:02 PM
Unknown Object (File)
Mon, Mar 31, 12:22 AM
Unknown Object (File)
Feb 24 2025, 6:19 AM
Unknown Object (File)
Feb 5 2025, 8:01 PM
Unknown Object (File)
Jan 30 2025, 5:30 AM
Unknown Object (File)
Jan 25 2025, 4:20 PM
Unknown Object (File)
Jan 13 2025, 4:28 PM
Unknown Object (File)
Jan 9 2025, 9:09 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