[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>
This commit is contained in:
parent
88d0518c0d
commit
54c8cdd4ab
|
@ -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;
|
struct drxjscu_cmd scu_cmd;
|
||||||
int rc;
|
int rc;
|
||||||
u16 set_param_parameters[15];
|
u16 set_param_parameters[18];
|
||||||
u16 cmd_result[15];
|
u16 cmd_result[15];
|
||||||
|
|
||||||
/* Parameter check */
|
/* Parameter check */
|
||||||
|
|
Loading…
Reference in New Issue