提交 54c8cdd4 编写于 作者: M Mauro Carvalho Chehab

[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: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 88d0518c
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册