linux_dsm_epyc7002/drivers/media
Mathias Krause 5bccd60852 [media] V4L: omap1_camera: fix use after free
Even though clk_put() is a no-op on most architectures it is not for
some ARM implementations. To not fail on those, release the clock timer
before freeing the surrounding structure.

This bug was spotted by the semantic patch tool coccinelle using the
script found at scripts/coccinelle/free/kfree.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-21 20:32:14 -03:00
..
common [media] tuner: Remove remaining usages of T_DIGITAL_TV 2011-03-21 20:32:04 -03:00
dvb [media] firedtv: remove obsolete ieee1394 backend code 2011-03-21 20:32:12 -03:00
radio [media] double mutex lock in drivers/media/radio/si470x/radio-si470x- 2011-03-21 20:31:56 -03:00
rc [media] technisat-usb2: added driver for Technisat's USB2.0 DVB-S/S2 receiver 2011-03-21 20:31:33 -03:00
video [media] V4L: omap1_camera: fix use after free 2011-03-21 20:32:14 -03:00
Kconfig [media] dabusb: Move it to staging to be deprecated 2010-12-29 08:17:15 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00