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

[media] digitv: limit messages to buffer size



Return an error rather than memcpy()ing beyond the end of the buffer.
Internal callers use appropriate sizes, but digitv_i2c_xfer may not.

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 e8357cde
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