linux/drivers/media
Julia Lawall 0a4524d726 [media] drivers/media/video/atmel-isi.c: eliminate a null pointer dereference
The variable isi might be null or might be freed at the point of the call
to clk_put.  pclk contains the value that isi->pclk is expected to point to.

The semantic match that finds this problem is as follows:

// <smpl>
@r@
expression E, E1;
identifier f;
statement S1,S2,S3;
@@

if (E == NULL)
{
  ... when != if (E == NULL || ...) S1 else S2
      when != E = E1
*E->f
  ... when any
  return ...;
}
else S3
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-11-07 13:12:24 -02:00
..
common [media] FM1216ME_MK3 AUX byte for FM mode 2011-11-07 12:39:17 -02:00
dvb [media] anysee: fix style issues 2011-11-07 10:34:19 -02:00
radio [media] media: tea5764: reconcile Kconfig symbol and macro 2011-11-03 18:33:54 -02:00
rc [media] rc/ir-lirc-codec: cleanup __user tags 2011-10-11 17:48:36 -03:00
video [media] drivers/media/video/atmel-isi.c: eliminate a null pointer dereference 2011-11-07 13:12:24 -02:00
Kconfig [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00