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/usb/ttusb-budget | |
parent | 7072db89572135f28cad65f15877bf7e67cf2ff8 (diff) |
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/usb/ttusb-budget')
0 files changed, 0 insertions, 0 deletions