remarkable-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
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
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
si4713-i2c.h
tef6862.c V4L/DVB (13177): radio: Add support for TEF6862 tuner 2009-12-05 18:40:43 -02:00