summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>2021-09-23 14:29:27 +0200
committerJiri Kosina <jkosina@suse.cz>2021-09-27 10:00:43 +0200
commit88a04049c08cd62e698bc1b1af2d09574b9e0aee (patch)
tree7ed29ed1e328189099779f462a969a7c88e7117d /drivers/hid/hid-ids.h
parentHID: u2fzero: ignore incomplete packets without data (diff)
downloadlinux-88a04049c08cd62e698bc1b1af2d09574b9e0aee.tar.xz
linux-88a04049c08cd62e698bc1b1af2d09574b9e0aee.zip
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-ids.h')
0 files changed, 0 insertions, 0 deletions