minor array overflow in ifconfig set80211chanlist()
Andriy Voskoboinyk
avos at freebsd.org
Mon May 16 23:44:11 UTC 2016
Tue, 17 May 2016 01:03:03 +0300 було написано Adrian Chadd
<adrian.chadd at gmail.com>:
> Heh, god, it's used for both maximum ieee channel number /and/ the
> array size? we should eventually fix that; 11ac channels will likely
> overflow all of the above. :(
No (yes) :)
I mean ic->ic_nchans and nitems(ic->ic_channels)
... but you are right: ic_ieee is uint8_t, so it's limited by this number
too.
>
>
>
> -a
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to
> "freebsd-wireless-unsubscribe at freebsd.org"
More information about the freebsd-wireless
mailing list