diff options
| author | Hans Verkuil <hansverk@cisco.com> | 2016-07-06 05:49:26 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-08 18:34:42 -0300 |
| commit | 0cb1f1e44cf5b013dd0991f509e332ac77ce2ddd (patch) | |
| tree | 08356944be5b10d11a30eae971ae365bdba79c57 /tools/perf/scripts/python | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
