RE: [EXT] Re: [PATCH] mwifiex: correct channel stat buffer overflows

2017-06-30 Thread Ganapathi Bhat
Hi Brian, > -- > On Thu, Jun 29, 2017 at 06:23:54PM -0700, Brian Norris wrote: > > mwifiex records information about various channels as it receives > scan > > information. It does this by appending to a buffer that was sized to >

Re: [PATCH] mwifiex: correct channel stat buffer overflows

2017-06-30 Thread Dmitry Torokhov
On Thu, Jun 29, 2017 at 06:23:54PM -0700, Brian Norris wrote: > mwifiex records information about various channels as it receives scan > information. It does this by appending to a buffer that was sized > to the max number of supported channels on any band, but there are > numerous problems: > > (

[PATCH] mwifiex: correct channel stat buffer overflows

2017-06-29 Thread Brian Norris
mwifiex records information about various channels as it receives scan information. It does this by appending to a buffer that was sized to the max number of supported channels on any band, but there are numerous problems: (a) scans can return info from more than one band (e.g., both 2.4 and 5