Re: [next] wifi: atmel: Fix atmel_private_handler array size

From: Kalle Valo
Date: Tue Nov 01 2022 - 07:00:06 EST


Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> Fix the atmel_private_handler to correctly sized (1 element) again. (I
> should have checked the data segment for differences.) This had no
> behavioral impact (no private callbacks), but it made a very large
> zero-filled array.
>
> Cc: Simon Kelley <simon@xxxxxxxxxxxxxxxxx>
> Cc: Kalle Valo <kvalo@xxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: Paolo Abeni <pabeni@xxxxxxxxxx>
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx
> Fixes: 8af9d4068e86 ("wifi: atmel: Avoid clashing function prototypes")
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

8b860466b137 wifi: atmel: Fix atmel_private_handler array size

--
https://patchwork.kernel.org/project/linux-wireless/patch/20221018023732.never.700-kees@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches