commit | 80ba39ec7cc9b8683dc9c0b6943d2861c3e9be56 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Thu Mar 11 15:46:40 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 11 14:47:24 2021 +0200 |
tree | a1e31e4162c4a9dd853bad05506d10e4f245bd6a | |
parent | 6a3edc1a5e1792aecea910283601b64d3a426728 [diff] |
media: gspca/sq905.c: fix uninitialized variable [ Upstream commit eaaea4681984c79d2b2b160387b297477f0c1aab ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>