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

From: Kalle Valo
Date: Thu Apr 25 2019 - 12:42:48 EST


Aditya Pakki <pakki001@xxxxxxx> 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@xxxxxxx>

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

d5414c2355b2 rsi: Fix NULL pointer dereference in kmalloc

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

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