diff options
| author | Nadezda Lutovinova <[email protected]> | 2021-08-11 15:32:28 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:07:54 +0200 |
| commit | cdfaf4752e6915a4b455ad4400133e540e4dc965 (patch) | |
| tree | ee9cdc1595ba49a4899a9af44ae5f3a4595f673a /tools/perf/scripts/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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions