diff options
| author | 2021-08-11 15:32:28 +0200 | |
|---|---|---|
| committer | 2021-09-30 10:07:54 +0200 | |
| commit | cdfaf4752e6915a4b455ad4400133e540e4dc965 (patch) | |
| tree | ee9cdc1595ba49a4899a9af44ae5f3a4595f673a /include/uapi | |
| parent | media: cec-pin: fix off-by-one SFT check (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 'include/uapi')
0 files changed, 0 insertions, 0 deletions
