Re: [PATCH] staging: rtl8188eu: Fix potential NULL pointer dereference

2019-03-13 Thread Greg Kroah-Hartman
On Wed, Mar 13, 2019 at 12:11:30PM -0500, Aditya Pakki wrote: > hwxmits is allocated via kcalloc and not checked for failure before its > dereference. The patch fixes this problem similar to rtl8723bs. > > Signed-off-by: Aditya Pakki > --- > drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 >

[PATCH] staging: rtl8188eu: Fix potential NULL pointer dereference

2019-03-13 Thread Aditya Pakki
hwxmits is allocated via kcalloc and not checked for failure before its dereference. The patch fixes this problem similar to rtl8723bs. Signed-off-by: Aditya Pakki --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 1 file changed, 4 insertions(+) diff --git