diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2021-09-23 14:29:27 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-09-27 10:00:43 +0200 |
commit | 88a04049c08cd62e698bc1b1af2d09574b9e0aee (patch) | |
tree | 7ed29ed1e328189099779f462a969a7c88e7117d /drivers/hid/hid-ids.h | |
parent | HID: u2fzero: ignore incomplete packets without data (diff) | |
download | linux-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