Skip to content
Commit 936c7daa authored by Chad Fraleigh's avatar Chad Fraleigh Committed by Mauro Carvalho Chehab
Browse files

media: gspca: Limit frame size to sizeimage.



Limit frame size to what userland code expects. This can happen when
cameras, such as Kensington VideoCAM, use fixed sized transfer packets
which includes trailing junk in the final packet.

Signed-off-by: default avatarChad Fraleigh <chadf@triularity.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b94b5510
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment