From: Alyssa Milburn Date: Sat, 1 Apr 2017 17:34:49 +0000 (-0300) Subject: dw2102: limit messages to buffer size X-Git-Tag: v3.2.92~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716e324b700b885a6692b38d113329b61788d2d5;p=pandora-kernel.git dw2102: limit messages to buffer size commit 950e252cb469f323740d78e4907843acef89eedb upstream. Otherwise the i2c transfer functions can read or write beyond the end of stack or heap buffers. Signed-off-by: Alyssa Milburn Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: - Use obuf instead of state->data - Adjust filename, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed