linux/drivers/media/cec
Hans Verkuil 6734eeb6c2 cec-api: prevent leaking memory through hole in structure
[ Upstream commit 6c42227c34 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:26:46 +02:00
..
Kconfig
Makefile
cec-adap.c media: cec: silence shift wrapping warning in __cec_s_log_addrs() 2020-06-22 09:31:02 +02:00
cec-api.c cec-api: prevent leaking memory through hole in structure 2020-09-03 11:26:46 +02:00
cec-core.c
cec-notifier.c
cec-pin-error-inj.c
cec-pin-priv.h
cec-pin.c
cec-priv.h