diff options
author | Alyssa Milburn <amilburn@zall.org> | 2017-04-01 20:33:42 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-18 18:52:41 +0300 |
commit | 821117dc21083a99dd99174c10848d70ff43de29 (patch) | |
tree | ba526813d5b48ecffbdf56281096c127f093c333 /include/media | |
parent | e8357cdec3d1b6b42566ce3bc960e5e10c2b3787 (diff) | |
download | linux-821117dc21083a99dd99174c10848d70ff43de29.tar.xz |
[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: Alyssa Milburn <amilburn@zall.org>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions