summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-playstation.c
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2021-09-23 15:29:27 +0300
committerJiri Kosina <jkosina@suse.cz>2021-09-27 11:00:43 +0300
commit88a04049c08cd62e698bc1b1af2d09574b9e0aee (patch)
tree7ed29ed1e328189099779f462a969a7c88e7117d /drivers/hid/hid-playstation.c
parent22d65765f211cc83186fd8b87521159f354c0da9 (diff)
downloadlinux-88a04049c08cd62e698bc1b1af2d09574b9e0aee.tar.xz
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: 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>
Diffstat (limited to 'drivers/hid/hid-playstation.c')
0 files changed, 0 insertions, 0 deletions