[PATCH] wifi: wcn36xx: fix channel survey memory allocation size
Jeff Johnson
quic_jjohnson at quicinc.com
Thu Nov 21 08:12:39 PST 2024
On Mon, 04 Nov 2024 21:00:35 +0100, Barnabás Czémán wrote:
> KASAN reported a memory allocation issue in wcn->chan_survey
> due to incorrect size calculation.
> This commit uses kcalloc to allocate memory for wcn->chan_survey,
> ensuring proper initialization and preventing the use of uninitialized
> values when there are no frames on the channel.
>
>
> [...]
Applied, thanks!
[1/1] wifi: wcn36xx: fix channel survey memory allocation size
commit: 6200d947f050efdba4090dfefd8a01981363d954
Best regards,
--
Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the wcn36xx
mailing list