Re: [PATCH v2] wifi: mac80211: Avoid address calculations via out of bounds array indexing

From: Johannes Berg
Date: Wed May 29 2024 - 10:55:16 EST


On Fri, 2024-05-17 at 10:54 -0400, Kenton Groombridge wrote:
> req->n_channels must be set before req->channels[] can be used.
>

I don't know why, but this patch breaks a number of hwsim test cases.

https://w1.fi/cgit/hostap/tree/tests/hwsim/

johannes