diff options
author | Dan Carpenter <[email protected]> | 2020-11-17 08:23:40 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-12-03 07:46:34 +0100 |
commit | 8e4d86e241cf035d6d3467cd346e7ce490681937 (patch) | |
tree | 633e1a40fff713a2d11925926020b13397e6bc90 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 28c1e371c2ff445162ca6de9a81463351d9e137d (diff) |
media: saa7146: fix array overflow in vidioc_s_audio()
The "a->index" value comes from the user via the ioctl. The problem is
that the shift can wrap resulting in setting "mxb->cur_audinput" to an
invalid value, which later results in an array overflow.
Fixes: 6680427791c9 ("[media] mxb: fix audio handling")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions