1
0
Fork 0
alistair23-linux/drivers/media/usb/usbtv
Oliver Neukum b970578274 media: usbtv: Fix refcounting mixup
commit bf65f8aabd upstream.

The premature free in the error path is blocked by V4L
refcounting, not USB refcounting. Thanks to
Ben Hutchings for review.

[v2] corrected attributions

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 50e7044535 ("media: usbtv: prevent double free in error case")
CC: stable@vger.kernel.org
Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-17 10:11:23 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
usbtv-audio.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
usbtv-core.c media: usbtv: Fix refcounting mixup 2020-10-17 10:11:23 +02:00
usbtv-video.c media: usbtv: fix control-message timeouts 2020-04-01 11:02:16 +02:00
usbtv.h media: usbtv: Add SECAM support 2018-05-04 06:48:49 -04:00