linux/drivers/media/radio
Julia Lawall ed0ee8e1fb V4L/DVB (13948): radio: Correct use after free
It is not clear how to share the unlock in the case where the structure
containing the lock has to be freed.  So the unlock is now duplicated, with
one copy moved before the free.  The unlock label furthermore is no longer
useful and is thus deleted.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,e;
identifier f;
iterator I;
statement S;
@@

*kfree(x);
... when != &x
    when != x = e
    when != I(x,...) S
*x->f
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:10:33 -03:00
..
si470x V4L/DVB (13948): radio: Correct use after free 2010-02-26 15:10:33 -03:00
dsbr100.c
Kconfig V4L/DVB (13609): radio-sf16fmi: add autoprobing 2009-12-16 00:18:40 -02:00
Makefile Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-12-09 19:50:49 -08:00
radio-aimslab.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-aztech.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-cadet.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
radio-gemtek-pci.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-gemtek.c
radio-maestro.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-maxiradio.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-miropcm20.c media/radio: New driver for the radio FM module on Miro PCM20 sound card 2009-11-27 13:26:23 +01:00
radio-mr800.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-rtrack2.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-sf16fmi.c V4L/DVB (13609): radio-sf16fmi: add autoprobing 2009-12-16 00:18:40 -02:00
radio-sf16fmr2.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-si4713.c V4L/DVB (13029): radio-si4713: remove #include <linux/version.h> 2009-09-19 00:54:15 -03:00
radio-tea5764.c V4L/DVB (13611): radio-tea5764: Correct size given to memset 2009-12-16 00:18:41 -02:00
radio-terratec.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-trust.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-typhoon.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-zoltrix.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
si4713-i2c.c V4L/DVB (12612): si4713: simplify the code to remove a compiler warning. 2009-09-12 12:19:50 -03:00
si4713-i2c.h V4L/DVB (12552): FM TX: si4713: Add files to handle si4713 i2c device 2009-09-12 12:19:20 -03:00
tef6862.c V4L/DVB (13177): radio: Add support for TEF6862 tuner 2009-12-05 18:40:43 -02:00