]> git.baikalelectronics.ru Git - kernel.git/commit
media: pci: cx23885: fix error handling for cx23885 ATSC boards
authorNikolay Burykin <burikin@ivk.ru>
Tue, 10 Jan 2023 09:09:00 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:21 +0000 (09:42 +0200)
commit72c90ebb2dc54dab2481f39977bba37788a58f35
treedbabeb697e51cbd212feb03efb0ca9b63d326a3f
parenteb3c2b3519bffac7550f31c7f11b3a19bdc93a8f
media: pci: cx23885: fix error handling for cx23885 ATSC boards

[ Upstream commit 4aaa96b59df5fac41ba891969df6b092061ea9d7 ]

After having been assigned to NULL value at cx23885-dvb.c:1202,
pointer '0' is dereferenced at cx23885-dvb.c:2469.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Nikolay Burykin <burikin@ivk.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/pci/cx23885/cx23885-dvb.c