diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-11-12 12:22:24 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2019-12-13 11:15:35 +0300 |
commit | de89d0864f66c2a1b75becfdd6bf3793c07ce870 (patch) | |
tree | e6f5b7aa301537ee187ec6293837236032b44348 /drivers/remoteproc/keystone_remoteproc.c | |
parent | aab7b7d19d038c198d2a17748d9b2aa69a28d0dc (diff) | |
download | linux-de89d0864f66c2a1b75becfdd6bf3793c07ce870.tar.xz |
media: gspca: zero usb_buf
Allocate gspca_dev->usb_buf with kzalloc instead of kmalloc to
ensure it is property zeroed. This fixes various syzbot errors
about uninitialized data.
Syzbot links:
https://syzkaller.appspot.com/bug?extid=32310fc2aea76898d074
https://syzkaller.appspot.com/bug?extid=99706d6390be1ac542a2
https://syzkaller.appspot.com/bug?extid=64437af5c781a7f0e08e
Reported-and-tested-by: syzbot+32310fc2aea76898d074@syzkaller.appspotmail.com
Reported-and-tested-by: syzbot+99706d6390be1ac542a2@syzkaller.appspotmail.com
Reported-and-tested-by: syzbot+64437af5c781a7f0e08e@syzkaller.appspotmail.com
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/remoteproc/keystone_remoteproc.c')
0 files changed, 0 insertions, 0 deletions