kernel-ark/drivers/media
Antonio Ospite e58fced201 [media] videodev: fix a NULL pointer dereference in v4l2_device_release()
The change in 8280b66 does not cover the case when v4l2_dev is already
NULL, fix that.

With a Kinect sensor, seen as an USB camera using GSPCA in this context,
a NULL pointer dereference BUG can be triggered by just unplugging the
device after the camera driver has been loaded.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-10-19 09:48:08 -02:00
..
common [media] xc4000: make checkpatch.pl happy 2011-07-27 17:52:40 -03:00
dvb [media] vp7045: fix buffer setup 2011-09-11 09:33:41 -03:00
radio [media] tea5764: Fix module parameter permissions 2011-07-27 17:55:53 -03:00
rc [media] nuvoton-cir: simplify raw IR sample handling 2011-09-11 09:33:40 -03:00
video [media] videodev: fix a NULL pointer dereference in v4l2_device_release() 2011-10-19 09:48:08 -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