summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-11 15:46:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:04:09 +0200
commitbc73cb52997d697fcd0733847d2dcef34746acd5 (patch)
tree961448917123c38a78debc9648c97dd6dfadd8eb /drivers/power
parentbec3831f51081ee95ceae7d8f54da9ddedb29c11 (diff)
downloadlinux-bc73cb52997d697fcd0733847d2dcef34746acd5.tar.gz
linux-bc73cb52997d697fcd0733847d2dcef34746acd5.tar.bz2
linux-bc73cb52997d697fcd0733847d2dcef34746acd5.zip
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions