HomeFreeBSD

MFC r298556:

Description

MFC r298556:

ifconfig: prevent some improbable signed integer overflows.

ic_nchans, from struct:ieee80211req_chaninfo, is an unsigned int.
Use an unsigned index to prevent overflowing the index.

Adopt unsigned integers in other cases where it is useful
to be aware of the unsigned quantities and there is no
risk of the values being negative.

Details

Provenance
pfgAuthored on
Parents
rS298978: dev/iscsi: minor spelling fixes.
Branches
Unknown
Tags
Unknown