diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-06 19:16:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-21 22:18:07 -0300 |
commit | 4d9b2ebd335d83044b9e6656d0e604e8e1300334 (patch) | |
tree | 31f61931a560ee5c5892ec2bdc4192b175cb60a5 /drivers/media/video/vp27smpx.c | |
parent | 236c5441d70312242b5b32d229259930046a80e5 (diff) | |
download | blackbird-obmc-linux-4d9b2ebd335d83044b9e6656d0e604e8e1300334.tar.gz blackbird-obmc-linux-4d9b2ebd335d83044b9e6656d0e604e8e1300334.zip |
[media] uvcvideo: Fix crash when linking entities
The uvc_mc_register_entity() function wrongfully selects the
media_entity associated with a UVC entity when creating links. This
results in access to uninitialized media_entity structures and can hit a
BUG_ON statement in media_entity_create_link(). Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vp27smpx.c')
0 files changed, 0 insertions, 0 deletions