[PATCH] staging: wilc1000: potential corruption in wilc_parse_join_bss_param()

Adham.Abozaeid at microchip.com Adham.Abozaeid at microchip.com
Thu Oct 17 17:06:32 UTC 2019



On 10/17/19 2:18 AM, Dan Carpenter wrote:
> The "rates_len" value needs to be capped so that the memcpy() doesn't
> copy beyond the end of the array.
>
> Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> ---
>  drivers/staging/wilc1000/wilc_hif.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Adham Abozaeid <adham.abozaeid at microchip.com>

Thanks Dan for the patch.




More information about the devel mailing list