diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-03-11 15:46:40 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-22 11:55:48 +0100 |
| commit | eaaea4681984c79d2b2b160387b297477f0c1aab (patch) | |
| tree | dd86066cdab4de81da0d18755083dff8e9c52b7d /include/linux/platform_data | |
| parent | 48e15418e41e4f32bb96dd8af1ae4a89ae13157b (diff) | |
| download | cachepc-linux-eaaea4681984c79d2b2b160387b297477f0c1aab.tar.gz cachepc-linux-eaaea4681984c79d2b2b160387b297477f0c1aab.zip | |
media: gspca/sq905.c: fix uninitialized variable
act_len can be uninitialized if usb_bulk_msg() returns an error.
Set it to 0 to avoid a KMSAN error.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: syzbot+a4e309017a5f3a24c7b3@syzkaller.appspotmail.com
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
