diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2021-03-01 21:38:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-11 11:59:44 +0100 |
commit | 9c39be40c0155c43343f53e3a439290c0fec5542 (patch) | |
tree | 78ef72bfec812621de23cb159c3fe7f27bf88b8c /sound/isa/Kconfig | |
parent | 18a4ca76ada464b3240f194800d41ea21fbb4229 (diff) |
media: drivers/media/usb: fix memory leak in zr364xx_probe
syzbot reported memory leak in zr364xx_probe()[1].
The problem was in invalid error handling order.
All error conditions rigth after v4l2_ctrl_handler_init()
must call v4l2_ctrl_handler_free().
Reported-by: syzbot+efe9aefc31ae1e6f7675@syzkaller.appspotmail.com
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'sound/isa/Kconfig')
0 files changed, 0 insertions, 0 deletions