Page MenuHomeFreeBSD

netlink: use size_t through the allocation KPI
Needs ReviewPublic

Authored by glebius on Wed, Nov 13, 9:55 PM.

Details

Reviewers
melifaro
Group Reviewers
network
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60530
Build 57414: arc lint + arc unit