diff options
| author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2021-09-23 17:59:27 +0530 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:08:03 +0200 |
| commit | 601e6baaa21c40292a0135963eda7d9b0afb9674 (patch) | |
| tree | d80f1d1c0a7074b603ab653976ad03d27c325a98 /tools/perf/scripts/python/bin | |
| parent | HID: u2fzero: ignore incomplete packets without data (diff) | |
| download | linux-601e6baaa21c40292a0135963eda7d9b0afb9674.tar.gz linux-601e6baaa21c40292a0135963eda7d9b0afb9674.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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
