diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2021-09-23 15:29:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-07 08:53:19 +0300 |
commit | 81971ea5ec5c37509cc2a2f520ba4127e973fb41 (patch) | |
tree | a89d1cb18239e4eb19aad47e686b03cd31e0ae02 /Makefile | |
parent | fe6f7b77796e6ed21c4f53cfaebedfe12316f5e9 (diff) | |
download | linux-81971ea5ec5c37509cc2a2f520ba4127e973fb41.tar.xz |
HID: amd_sfh: Fix potential NULL pointer dereference - take 2
commit 88a04049c08cd62e698bc1b1af2d09574b9e0aee upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions