diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-08-24 09:06:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 08:46:16 +0200 |
commit | 2dc73b48665411a08c4e5f0f823dea8510761603 (patch) | |
tree | 86bc5771f031897b9991301f475258808e7464b4 /drivers/media/usb | |
parent | 93f65ce036863893c164ca410938e0968964b26c (diff) |
media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
I expect that the hardware will have limited this to 16, but just in
case it hasn't, check for this corner case.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions