aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-09-06 10:23:18 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-21 22:17:43 -0300
commit8280b662df96f4172c4972b14a4aec0daf272b8f (patch)
tree774e688fe12b1cbbc2495f7a250fe4901d0bec6f /lib/mpi/mpiutil.c
parent[media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset (diff)
downloadlinux-dev-8280b662df96f4172c4972b14a4aec0daf272b8f.tar.xz
linux-dev-8280b662df96f4172c4972b14a4aec0daf272b8f.zip
[media] v4l: Fix use-after-free case in v4l2_device_release
Drivers that have no v4l2_device release callback might free the v4l2_device instance in the video_device release callback. Make sure we don't access the v4l2_device instance after it gets freed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions