OpenCloudOS-Kernel/drivers/media
Nadezda Lutovinova cdfaf4752e 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>
2021-09-30 10:07:54 +02:00
..
cec media: cec-pin: fix off-by-one SFT check 2021-09-30 10:07:54 +02:00
common media: siano: use DEFINE_MUTEX() for mutex lock 2021-09-30 10:07:43 +02:00
dvb-core media: dvb-core: frontend: make GET/SET safer 2021-06-17 09:29:11 +02:00
dvb-frontends media: cxd2820r: include the right header 2021-09-30 10:07:43 +02:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: ov8856: Set default mbus format but allow caller to alter 2021-09-30 10:07:45 +02:00
mc media: mc-device.c: use DEVICE_ATTR_RO() helper macro 2021-08-04 14:43:50 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: ipu3-cio2: Introduce to_cio2_device() helper macro 2021-09-30 10:07:45 +02:00
platform media: s5p-mfc: Add checking to s5p_mfc_probe(). 2021-09-30 10:07:54 +02:00
radio media: radio: si4713: constify static struct v4l2_ioctl_ops 2021-06-02 13:26:11 +02:00
rc media: rc: sunxi-cir: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-09-30 10:07:40 +02:00
test-drivers media: vidtv: Fix memory leak in remove 2021-09-30 10:07:53 +02:00
tuners media: tuners: mxl5007t: Removed unnecessary 'return' 2021-09-30 10:07:40 +02:00
usb media: pvrusb2: Replaced simple_strtol() with kstrtoint() 2021-09-30 10:07:53 +02:00
v4l2-core media: v4l2-ioctl: S_CTRL output the right value 2021-09-30 10:07:47 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00