Re: [PATCH] uvcvideo: Fix crash when linking entities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Josh,

On Wednesday 07 September 2011 17:32:41 Josh Boyer wrote:
> On Wed, Sep 07, 2011 at 12:29:08AM +0200, Laurent Pinchart wrote:
> > 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@xxxxxxxxxxxxxxxx>
> > ---
> > 
> >  drivers/media/video/uvc/uvc_entity.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > This patch should fix a v3.0 regression that results in a kernel crash as
> > reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637740 and
> > https://bugzilla.redhat.com/show_bug.cgi?id=735437.
> > 
> > Test results will be welcome.
> 
> I built a test kernel for Fedora with the patch and the submitter of the
> above bug has reported that the issue seems to be fixed.

Thank you. I will push the patch upstream.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux