diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-12 11:10:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-13 07:58:12 -0300 |
commit | 52d802d65b56a399aa67a9d3f26f232116d3e256 (patch) | |
tree | d09f3a743b5ea319a5bda38bc849c04d26ef05bc /ipc/shm.c | |
parent | 0385443fec6b56b4b22f1940ab8607a074a5c17a (diff) |
[media] cec: add sanity check for msg->len
Check (and warn) if the msg->len is too long or if it is 0.
Should never happen, but just in case...
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions