This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] drxj: set_param_parameters array is too short
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Feb 22 13:40:14 2016 -0300

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 <[email protected]>

 drivers/media/dvb-frontends/drx39xyj/drxj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=54c8cdd4abb06ca5d0aa3470a13e4f9f21364477
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 */

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to