commit | 4f93054d9b45857cc68bb7f5e8010e086be656ce | [log] [tgz] |
---|---|---|
author | Alyssa Milburn <amilburn@zall.org> | Sat Apr 01 14:34:32 2017 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 15:44:39 2017 +0200 |
tree | b891984b90127c656aa80a85d673cb27b6a96995 | |
parent | c71b5040632f90131e62ecdc83063179cc2ae7af [diff] |
ttusb2: limit messages to buffer size commit a12b8ab8c5ff7ccd7b107a564743507c850a441d upstream. Otherwise ttusb2_i2c_xfer can read or write beyond the end of static and heap buffers. 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>