Date: Tue, 17 May 2016 01:05:57 +0300 From: "Andriy Voskoboinyk" <avos@freebsd.org> To: "Adrian Chadd" <adrian.chadd@gmail.com> Cc: "Don Lewis" <truckman@freebsd.org>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: minor array overflow in ifconfig set80211chanlist() Message-ID: <op.yhksz7c44dikkl@localhost> In-Reply-To: <CAJ-VmokTDO9=ZX5rGT1ZtW2aBEvzB_EVpEZvL7crs-KrQmqVMA@mail.gmail.com> References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> <op.yhkssoeniew4ia@localhost> <CAJ-VmokTDO9=ZX5rGT1ZtW2aBEvzB_EVpEZvL7crs-KrQmqVMA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Tue, 17 May 2016 01:03:03 +0300 було написано Adrian Chadd <adrian.chadd@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.yhksz7c44dikkl>
