commit | e42a6715d26bc777b545018d585333ee91cdbbe9 | [log] [tgz] |
---|---|---|
author | Alyssa Milburn <amilburn@zall.org> | Sat Apr 01 14:33:42 2017 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 15:44:42 2017 +0200 |
tree | 288c2729e29117bc3ba3de1b8222fc09e12c20bd | |
parent | 28590f1bb601862c663c1e95158ffcc452593ff9 [diff] |
digitv: limit messages to buffer size commit 821117dc21083a99dd99174c10848d70ff43de29 upstream. 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>