HomeFreeBSD

netlink: check buffer length fits into u_int

Description

netlink: check buffer length fits into u_int

We may increase it to size_t later, KPI allows that already, but
doesn't seem to be needed today.

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D47550

Details

Provenance
glebiusAuthored on Dec 3 2024, 8:04 PM
Reviewer
melifaro
Differential Revision
D47550: netlink: check buffer length fits into u_int
Parents
rGa034c0aeccd8: netlink: refactor writer initialization KPI
Branches
Unknown
Tags
Unknown