Skip to content
Commit a12b8ab8 authored by Alyssa Milburn's avatar Alyssa Milburn Committed by Mauro Carvalho Chehab
Browse files

[media] ttusb2: limit messages to buffer size



Otherwise ttusb2_i2c_xfer can read or write beyond the end of static and
heap buffers.

Signed-off-by: default avatarAlyssa Milburn <amilburn@zall.org>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 5f2c467c
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