linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar 88a04049c0 HID: amd_sfh: Fix potential NULL pointer dereference
The cl_data field of a privdata must be allocated and updated before
using in amd_sfh_hid_client_init() function.

Hence handling NULL pointer cl_data accordingly.

Fixes: d46ef750ed ("HID: amd_sfh: Fix potential NULL pointer dereference")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-09-27 10:00:43 +02:00
..
hid_descriptor HID: amd_sfh: Add initial support for HPD sensor 2021-06-24 14:28:03 +02:00
amd_sfh_client.c HID: amd_sfh: Add dyndbg prints for debugging 2021-08-20 14:48:49 +02:00
amd_sfh_hid.c HID: amd_sfh: Use devm_kzalloc() instead of kzalloc() 2021-05-27 15:40:34 +02:00
amd_sfh_hid.h HID: amd_sfh: Add initial support for HPD sensor 2021-06-24 14:28:03 +02:00
amd_sfh_pcie.c HID: amd_sfh: Fix potential NULL pointer dereference 2021-09-27 10:00:43 +02:00
amd_sfh_pcie.h HID: amd_sfh: Add support for PM suspend and resume 2021-08-20 14:48:49 +02:00
Kconfig
Makefile