Revision 88a04049c08cd62e698bc1b1af2d09574b9e0aee authored by Basavaraj Natikar on 23 September 2021, 12:29:27 UTC, committed by Jiri Kosina on 27 September 2021, 08:00:43 UTC
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: d46ef750ed58 ("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>
1 parent 22d6576
History
File Mode Size
Makefile -rw-r--r-- 244 bytes
callchain.c -rw-r--r-- 5.7 KB
core.c -rw-r--r-- 320.0 KB
hw_breakpoint.c -rw-r--r-- 16.4 KB
internal.h -rw-r--r-- 5.8 KB
ring_buffer.c -rw-r--r-- 23.0 KB
uprobes.c -rw-r--r-- 57.1 KB

back to top