aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorAntonio Ospite <[email protected]>2011-10-12 20:59:26 +0000
committerMauro Carvalho Chehab <[email protected]>2011-10-19 11:48:08 +0000
commite58fced201ad6e6cb673f07499919c3b20792d94 (patch)
tree7db4aac4f1380e15a8c0442e74634db99ef39636 /lib/mpi/mpi-cmp.c
parentLinux 3.1-rc10 (diff)
downloadkernel-e58fced201ad6e6cb673f07499919c3b20792d94.tar.gz
kernel-e58fced201ad6e6cb673f07499919c3b20792d94.zip
[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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions