linux/drivers/media/platform/sti
Johan Hovold 11609a7e21 media: bdisp: fix memleak on release
If a process is interrupted while accessing the video device and the
device lock is contended, release() could return early and fail to free
related resources.

Note that the return value of the v4l2 release file operation is
ignored.

Fixes: 28ffeebbb7 ("[media] bdisp: 2D blitter driver using v4l2 mem2mem framework")
Cc: stable <stable@vger.kernel.org>     # 4.2
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2019-11-05 08:50:02 -03:00
..
bdisp media: bdisp: fix memleak on release 2019-11-05 08:50:02 -03:00
c8sectpfe media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
cec media: stih-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:40:00 -04:00
delta treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hva media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00