commit | 0cb1f1e44cf5b013dd0991f509e332ac77ce2ddd | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hansverk@cisco.com> | Wed Jul 06 05:49:26 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Jul 08 18:34:42 2016 -0300 |
tree | 08356944be5b10d11a30eae971ae365bdba79c57 | |
parent | 5bb2399a4fe4a1703c1497b4838c5e8e869d0822 [diff] |
[media] cec-funcs.h: add length checks Add msg->len sanity checks to fix static checker warning: include/linux/cec-funcs.h:1154 cec_ops_set_osd_string() warn: setting length 'msg->len - 3' to negative one Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>