diff options
| author | 2018-12-18 08:37:08 -0500 | |
|---|---|---|
| committer | 2019-01-16 11:22:39 -0500 | |
| commit | f45f3f753b0a3d739acda8e311b4f744d82dc52a (patch) | |
| tree | e00d7de50e1ba0cb943f527cd779a1b3c649bc1a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | media: vicodec: bugfix - replace '=' with '|=' (diff) | |
media: v4l2-ctrls.c/uvc: zero v4l2_event
Control events can leak kernel memory since they do not fully zero the
event. The same code is present in both v4l2-ctrls.c and uvc_ctrl.c, so
fix both.
It appears that all other event code is properly zeroing the structure,
it's these two places.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: syzbot+4f021cf3697781dbd9fb@syzkaller.appspotmail.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
