diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-22 13:40:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-23 07:24:46 -0300 |
commit | 54c8cdd4abb06ca5d0aa3470a13e4f9f21364477 (patch) | |
tree | 2531b8aa79d0767604801b7f36e3bbc15018cd28 /drivers/media/dvb-frontends/drx39xyj | |
parent | 88d0518c0d91be4577de7a947af6d0255bbd0966 (diff) | |
download | blackbird-op-linux-54c8cdd4abb06ca5d0aa3470a13e4f9f21364477.tar.gz blackbird-op-linux-54c8cdd4abb06ca5d0aa3470a13e4f9f21364477.zip |
[media] drxj: set_param_parameters array is too short
Fixes this smatch warning:
drivers/media/dvb-frontends/drx39xyj/drxj.c:4151 drxj_dap_scu_atomic_read_write_block() error: buffer overflow 'set_param_parameters' 15 <= 17
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj')
-rw-r--r-- | drivers/media/dvb-frontends/drx39xyj/drxj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c index b28b5787b39a..51715421bc4f 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drxj.c +++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c @@ -4131,7 +4131,7 @@ int drxj_dap_scu_atomic_read_write_block(struct i2c_device_addr *dev_addr, u32 a { struct drxjscu_cmd scu_cmd; int rc; - u16 set_param_parameters[15]; + u16 set_param_parameters[18]; u16 cmd_result[15]; /* Parameter check */ |