summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2021-03-01 21:38:26 +0100
committerSasha Levin <sashal@kernel.org>2021-08-26 08:35:34 -0400
commitff2fc9e4aaa6551f5b4a4ba0a3a7ea89771694ac (patch)
tree438b4b49c3b11529578ed171513632221669b83d /arch
parent56320b1ad4d0c6a67ab42198c40b9f43a0ed8756 (diff)
media: drivers/media/usb: fix memory leak in zr364xx_probe
[ Upstream commit 9c39be40c0155c43343f53e3a439290c0fec5542 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions