1
0
Fork 0
alistair23-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 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: cec: remove cec-edid.c 2018-09-24 09:11:06 -04:00
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 media: cec: add struct cec_connector_info support 2019-06-27 07:18:43 -04:00
cec-notifier.c media: cec-notifier: clear cec_adap in cec_notifier_unregister 2019-08-26 06:30:32 -03:00
cec-pin-error-inj.c media: cec-pin-error-inj: avoid a false-positive Spectre detection 2018-05-28 16:11:17 -04:00
cec-pin-priv.h media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
cec-pin.c media: cec-pin: fix broken tx_ignore_nack_until_eom error injection 2018-11-23 05:48:44 -05:00
cec-priv.h media: cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function 2019-05-23 05:32:40 -04:00