Re: [PATCH v2] rsi: Fix NULL pointer dereference in kmalloc

Kalle Valo
2019-04-25T16:42:47Z

Aditya Pakki <pakki001@umn.edu> wrote:

> kmalloc can fail in rsi_register_rates_channels but memcpy still attempts
> to write to channels. The patch replaces these calls with kmemdup and
> passes the error upstream.
>
> Signed-off-by: Aditya Pakki <pakki001@umn.edu>

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

d5414c2355b2 rsi: Fix NULL pointer dereference in kmalloc

--