diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-08-15 10:00:33 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 12:27:48 +0200 |
| commit | 11b1a42a99d3ce1d59ab2d7ffa4f52b3e87bf59e (patch) | |
| tree | fcd70e3bd0a5c77daf9d6ebeef37f113a62a4311 /drivers/acpi/custom_method.c | |
| parent | 4678cdb0851cdaee0bda3d9eb975e71613a472e7 (diff) | |
media: hdpvr: add terminating 0 at end of string
[ Upstream commit 8b8900b729e4f31f12ac1127bde137c775c327e6 ]
dev->usbc_buf was passed as argument for %s, but it was not safeguarded
by a terminating 0.
This caused this syzbot issue:
https://syzkaller.appspot.com/bug?extid=79d18aac4bf1770dd050
Reported-and-tested-by: syzbot+79d18aac4bf1770dd050@syzkaller.appspotmail.com
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi/custom_method.c')
0 files changed, 0 insertions, 0 deletions
