diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-11-20 17:27:18 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 12:34:26 +0100 |
commit | 625993166b551d633917ca35d4afb7b46d7451b4 (patch) | |
tree | 28eca83f5392cce86833352307a999a86a155442 /drivers/media/dvb-frontends | |
parent | media: cedrus: Remove checking for required controls (diff) | |
download | linux-625993166b551d633917ca35d4afb7b46d7451b4.tar.xz linux-625993166b551d633917ca35d4afb7b46d7451b4.zip |
media: atomisp: Fix a buffer overflow in debug code
The "pad" variable is a user controlled string and we haven't properly
clamped it at this point so the debug code could print from beyond the
of the array.
Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
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 'drivers/media/dvb-frontends')
0 files changed, 0 insertions, 0 deletions