OSDN Git Service

[media] dw2102: limit messages to buffer size
authorAlyssa Milburn <amilburn@zall.org>
Sat, 1 Apr 2017 17:34:49 +0000 (14:34 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 10:03:20 +0000 (07:03 -0300)
commit950e252cb469f323740d78e4907843acef89eedb
tree5cf80f6b6b29f0298017a6a00721184fcde8a9b3
parenta12b8ab8c5ff7ccd7b107a564743507c850a441d
[media] dw2102: limit messages to buffer size

Otherwise the i2c transfer functions can read or write beyond the end of
stack or heap buffers.

Signed-off-by: Alyssa Milburn <amilburn@zall.org>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/dw2102.c