commit | f45f3f753b0a3d739acda8e311b4f744d82dc52a | [log] [tgz] |
---|---|---|
author | Hans Verkuil <[email protected]> | Tue Dec 18 08:37:08 2018 -0500 |
committer | Mauro Carvalho Chehab <[email protected]> | Wed Jan 16 11:22:39 2019 -0500 |
tree | e00d7de50e1ba0cb943f527cd779a1b3c649bc1a | |
parent | 2a850b94135db67d87f4ab6ab2a325a42ecbe00a [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 <[email protected]> Reported-by: [email protected] Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>