diff options
| author | Nadezda Lutovinova <lutovinova@ispras.ru> | 2021-08-11 15:32:28 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:54 +0200 |
| commit | cdfaf4752e6915a4b455ad4400133e540e4dc965 (patch) | |
| tree | ee9cdc1595ba49a4899a9af44ae5f3a4595f673a /tools/lib/python | |
| parent | 7e360fa0c0f3e7dd1aa8f2b574d7b461d0caf5e2 (diff) | |
media: s5p-mfc: Add checking to s5p_mfc_probe().
If of_device_get_match_data() return NULL,
then null pointer dereference occurs in s5p_mfc_init_pm().
The patch adds checking if dev->variant is NULL.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Nadezda Lutovinova <lutovinova@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
