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.carpen...@oracle.com>
> ---
>  drivers/staging/wilc1000/wilc_hif.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Adham Abozaeid <adham.aboza...@microchip.com>

Thanks Dan for the patch.


_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to