commit | 1fa2337a315a2448c5434f41e00d56b01a22283c | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Apr 28 18:51:17 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Apr 30 14:26:05 2015 -0300 |
tree | cdf9b79e7ac2fb2980177140951de7c317ba42db | |
parent | 12f4543f5d6811f864e6c4952eb27253c7466c02 [diff] |
[media] cx24116: fix a buffer overflow when checking userspace params The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows to write up much more values: drivers/media/dvb-frontends/cx24116.c:983 cx24116_send_diseqc_msg() error: buffer overflow 'd->msg' 6 <= 23 Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>