Re: [PATCH v2] staging: rtl8188eu: Fix potential NULL pointer dereference
From: Greg Kroah-Hartman
Date: Wed Mar 20 2019 - 03:24:29 EST
On Tue, Mar 19, 2019 at 04:07:54PM -0500, Aditya Pakki wrote:
> hwxmits is allocated via kcalloc and not checked for failure before its
> dereference. The patch fixes this problem by returning an error in
> rtl8723bs.
>
> ---
> v1: Return error and remove print in case of failure, per Greg
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>
Please fix.