diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-28 18:34:40 -0300 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:29:59 +0200 |
| commit | c159a222469f6f65c8afa576b0cd292238e3bed7 (patch) | |
| tree | 97fa15b26b9b9075573ae1fb8684cdc307119b36 /include/linux/mmdebug.h | |
| parent | 19c40ad0f1195390ad6ee3a4f496ff6c9a08e037 (diff) | |
s5h1420: fix a buffer overflow when checking userspace params
commit 12f4543f5d6811f864e6c4952eb27253c7466c02 upstream.
The maximum size for a DiSEqC command is 6, according to the
userspace API. However, the code allows to write up to 7 values:
drivers/media/dvb-frontends/s5h1420.c:193 s5h1420_send_master_cmd() error: buffer overflow 'cmd->msg' 6 <= 7
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/mmdebug.h')
0 files changed, 0 insertions, 0 deletions
