From: Alyssa Milburn Date: Sat, 1 Apr 2017 17:34:32 +0000 (-0300) Subject: ttusb2: limit messages to buffer size X-Git-Tag: v3.2.92~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a09cc2a3ed2e817924c6d138b6ac23e991878139;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed