linux/drivers/media/usb/pvrusb2
Mike Isely 7f404ae9cf media: pvrusb2: Fix oops on tear-down when radio support is not present
In some device configurations there's no radio or radio support in the
driver.  That's OK, as the driver sets itself up accordingly.  However
on tear-down in these caes it's still trying to tear down radio
related context when there isn't anything there, leading to
dereferences through a null pointer and chaos follows.

How this bug survived unfixed for 11 years in the pvrusb2 driver is a
mystery to me.

[hverkuil: fix two checkpatch warnings]

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2019-11-09 09:10:06 +01:00
..
Kconfig media: pvrusb2: Add Hauppauge HVR1955/1975 devices 2019-06-13 14:31:25 -04:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
pvrusb2-audio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-audio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-context.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-context.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cs53l32a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cs53l32a.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ctrl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-cx2584x-v4l.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-cx2584x-v4l.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debugifc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-debugifc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-devattr.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-devattr.h media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-dvb.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-dvb.h media: pvrusb2: Add i2c client demod/tuner support 2019-06-13 14:29:37 -04:00
pvrusb2-eeprom.c media: pvrusb2: use kzalloc instead of kmalloc and memset 2019-08-13 11:48:57 -03:00
pvrusb2-eeprom.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-encoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-encoder.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-fx2-cmd.h media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-hdw-internal.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-hdw.c media: pvrusb2: qctrl.flag will be uninitlaized if cx2341x_ctrl_query() returns error code 2019-08-29 10:22:39 -03:00
pvrusb2-hdw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-i2c-core.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-i2c-core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-io.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ioread.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-ioread.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-main.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-std.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-std.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-sysfs.c media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
pvrusb2-sysfs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-util.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-v4l2.c media: pvrusb2: Fix oops on tear-down when radio support is not present 2019-11-09 09:10:06 +01:00
pvrusb2-v4l2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-video-v4l.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-video-v4l.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-wm8775.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2-wm8775.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
pvrusb2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00