summaryrefslogtreecommitdiff
path: root/drivers/media/rc/ttusbir.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-03-21 11:33:56 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-27 11:24:43 +0300
commit4e768c8e34e639cff66a0f175bc4aebf472e4305 (patch)
tree10fc6a9eaeb1bfe9a68756398eec46ca3c1ebac3 /drivers/media/rc/ttusbir.c
parent150f7b11cb59670a147e88580a604ce3c6845a88 (diff)
downloadlinux-4e768c8e34e639cff66a0f175bc4aebf472e4305.tar.xz
media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
The v4l2_compat_get_array_args() function can leave uninitialized memory in the buffer it is passed. So zero it before copying array elements from userspace into the buffer. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: syzbot+ff18193ff05f3f87f226@syzkaller.appspotmail.com Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/rc/ttusbir.c')
0 files changed, 0 insertions, 0 deletions