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
bits.h -rw-r--r-- 171 bytes
clocksource.h -rw-r--r-- 479 bytes
const.h -rw-r--r-- 196 bytes
datapage.h -rw-r--r-- 4.1 KB
helpers.h -rw-r--r-- 1.3 KB
jiffies.h -rw-r--r-- 298 bytes
ktime.h -rw-r--r-- 454 bytes
limits.h -rw-r--r-- 564 bytes
math64.h -rw-r--r-- 468 bytes
processor.h -rw-r--r-- 251 bytes
time.h -rw-r--r-- 190 bytes
time32.h -rw-r--r-- 274 bytes
time64.h -rw-r--r-- 426 bytes
vsyscall.h -rw-r--r-- 288 bytes

back to top