2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/media/usb
Kefeng Wang 6e2980cc68 media: pvrusb2: fix null-ptr-deref in class_unregister()
The class_ptr will be NULL if pvr2_sysfs_class_create() fails
in pvr_init(), when call pvr2_sysfs_class_destroy(), it will
lead to null-ptr-deref, fix it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-05 15:57:46 -04:00
..
airspy media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
as102 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
au0828 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
b2c2 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cpia2 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
cx231xx media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
dvb-usb media: cxusb: Revert "media: cxusb: add raw mode support for, Medion MD95700" 2019-06-05 15:26:40 -04:00
dvb-usb-v2 Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
em28xx media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
go7007 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
gspca media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
hackrf media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
hdpvr media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
msi2500 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
pulse8-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 55 2019-05-24 17:36:42 +02:00
pvrusb2 media: pvrusb2: fix null-ptr-deref in class_unregister() 2019-06-05 15:57:46 -04:00
pwc media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
rainshadow-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 55 2019-05-24 17:36:42 +02:00
s2255 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
siano treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
stk1160 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
stkwebcam media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
tm6000 media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
ttusb-budget treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ttusb-dec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
usbtv media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
usbvision media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
uvc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
zr364xx media: media/usb: set device_caps in struct video_device 2019-06-05 08:24:49 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00