]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
media: uvcvideo: Fix access to uninitialized fields on probe error
authorOliver Neukum <oneukum@suse.com>
Tue, 30 Apr 2019 12:28:14 +0000 (08:28 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 16:22:21 +0000 (12:22 -0400)
commit11a087f484bf15ff65f0a9f277aa5a61fd07ed2a
tree1406eda106a41705a55adbe0b6e87ccc4415219e
parent675e2f20b1139633876cdc8f621065fcbd582be9
media: uvcvideo: Fix access to uninitialized fields on probe error

We need to check whether this work we are canceling actually is
initialized.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+2e1ef9188251d9cc7944@syzkaller.appspotmail.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/uvc/uvc_ctrl.c