Re: [PATCH v2] wl1251: Fix possible buffer overflow in wl1251_cmd_scan
From: Kalle Valo
Date: Tue Jun 15 2021 - 09:36:21 EST
Lee Gibson <leegib@xxxxxxxxx> wrote:
> Function wl1251_cmd_scan calls memcpy without checking the length.
> Harden by checking the length is within the maximum allowed size.
>
> Signed-off-by: Lee Gibson <leegib@xxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
d10a87a3535c wl1251: Fix possible buffer overflow in wl1251_cmd_scan
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210428115508.25624-1-leegib@xxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches