Commit 8a2d0e82 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by sanglipeng
Browse files

media: uvcvideo: Handle cameras with invalid descriptors

stable inclusion
from stable-v5.10.173
commit d8aa2e1ae6426d7cbddf1735aed1a63ddf0e6909
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7X0QU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d8aa2e1ae6426d7cbddf1735aed1a63ddf0e6909



--------------------------------

[ Upstream commit 41ddb251 ]

If the source entity does not contain any pads, do not create a link.

Reported-by: default avatarsyzbot <syzkaller@googlegroups.com>
Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent acc86fd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment