Re: [PATCH v3] brcmfmac: fix missing checks for kmemdup

From: Kalle Valo
Date: Thu Apr 04 2019 - 06:13:43 EST


Kangjie Lu <kjlu@xxxxxxx> wrote:

> In case kmemdup fails, the fix sets conn_info->req_ie_len and
> conn_info->resp_ie_len to zero to avoid buffer overflows.
>
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>
> Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

46953f97224d brcmfmac: fix missing checks for kmemdup

--
https://patchwork.kernel.org/patch/10855341/

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