Re: [PATCH 2/9] scan: fix out of bound array access for survey results

James Prestwood
2025-04-16T17:21:13Z

On 4/16/25 10:20 AM, Denis Kenzior wrote:
> Hi James,
>
> On 4/16/25 7:34 AM, James Prestwood wrote:
>> The survey arrays were exactly the number of valid channels for a
>> given band (e.g. 14 for 2.4GHz) but since channels start at 1 this
>> means that the last channel for a band would overflow the array.
>> ---
>>   src/scan.c | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>
> Can I get some Fixes: tags for these?
Sure, I'll see what I can gather up.
>
> Regards,
> -Denis