]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 7 Aug 2024 07:22:10 +0000 (09:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:04:01 +0000 (12:04 +0200)
commitc5911bc748fa0183b58beecae79dd196f53642f8
treeee1db13d95c42337257518bacd9c003fe215911a
parent6eb1a9a2103acd7441ed68deffaffbf45df69dac
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags

commit 599f6899051cb70c4e0aa9fd591b9ee220cb6f14 upstream.

The cec_msg_set_reply_to() helper function never zeroed the
struct cec_msg flags field, this can cause unexpected behavior
if flags was uninitialized to begin with.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 0dbacebede1e ("[media] cec: move the CEC framework out of staging and to media")
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/cec.h