commit | 6c42227c3467549ddc65efe99c869021d2f4a570 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Fri Jun 26 12:44:26 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sun Jul 19 07:43:14 2020 +0200 |
tree | c8d89e92c772065e38d97022e98215213df05954 | |
parent | 137641287eb40260783a4413847a0aef06023a6c [diff] |
cec-api: prevent leaking memory through hole in structure Fix this smatch warning: drivers/media/cec/core/cec-api.c:156 cec_adap_g_log_addrs() warn: check that 'log_addrs' doesn't leak information (struct has a hole after 'features') Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>