diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-11-17 10:23:40 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 09:46:34 +0300 |
| commit | 8e4d86e241cf035d6d3467cd346e7ce490681937 (patch) | |
| tree | 633e1a40fff713a2d11925926020b13397e6bc90 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 28c1e371c2ff445162ca6de9a81463351d9e137d (diff) | |
| download | linux-8e4d86e241cf035d6d3467cd346e7ce490681937.tar.xz | |
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 <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
