Re: [PATCH v2] wifi: mac80211: Avoid address calculations via out of bounds array indexing
From: Kenton Groombridge
Date: Wed Jun 05 2024 - 10:53:11 EST
On 24/06/04 09:29PM, Johannes Berg wrote:
> Looking at your patch again, this seems wrong?
>
> > + local->hw_scan_req->req.channels[*n_chans++] =
> > req->channels[i];
> >
>
> This will increment n_chans rather than *n_chans, no?
>
Ah ha! A silly mistake that I missed. V3 to follow soon.
--
Kenton Groombridge
Gentoo Linux Developer, SELinux Project
Attachment:
signature.asc
Description: PGP signature