Searched hist:298556 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sbin/ifconfig/
H A Difieee80211.cdiff 298556 Sun Apr 24 22:56:07 MDT 2016 pfg 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.

MFC after: 1 week

Completed in 173 milliseconds