commit | 88a04049c08cd62e698bc1b1af2d09574b9e0aee | [log] [tgz] |
---|---|---|
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | Thu Sep 23 17:59:27 2021 +0530 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Sep 27 10:00:43 2021 +0200 |
tree | 7ed29ed1e328189099779f462a969a7c88e7117d | |
parent | 22d65765f211cc83186fd8b87521159f354c0da9 [diff] |
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>