diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-28 18:51:17 -0300 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:30:00 +0200 |
| commit | 1605d9e79b9c729afb63a57ca4cc9296144d81be (patch) | |
| tree | 70c9b1df6304e3868b7572dc2931009284b30174 /include/linux/raid_class.h | |
| parent | c159a222469f6f65c8afa576b0cd292238e3bed7 (diff) | |
cx24116: fix a buffer overflow when checking userspace params
commit 1fa2337a315a2448c5434f41e00d56b01a22283c upstream.
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
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/raid_class.h')
0 files changed, 0 insertions, 0 deletions
