linux-stable/drivers/media/pci
Nicholas Mc Guire 2a55f0985d media: pci: cx23885: handle adding to list failure
[ Upstream commit c5d59528e2 ]

altera_hw_filt_init() which calls append_internal() assumes
that the node was successfully linked in while in fact it can
silently fail. So the call-site needs to set return to -ENOMEM
on append_internal() returning NULL and exit through the err path.

Fixes: 349bcf02e3 ("[media] Altera FPGA based CI driver module")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:25:56 +01:00
..
b2c2
bt8xx media: bt8xx: Fix err 'bt878_probe()' 2018-03-24 11:00:23 +01:00
cobalt [media] pci: constify snd_pcm_ops structures 2016-09-19 16:18:42 -03:00
cx18 [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
cx88 cx88: Fix regression in initial video standard setting 2017-07-27 15:08:01 -07:00
cx23885 media: pci: cx23885: handle adding to list failure 2018-11-21 09:25:56 +01:00
cx25821 media: cx25821: prevent out-of-bounds read on array card 2018-05-25 16:13:13 +02:00
ddbridge [media] constify local structures 2016-09-19 16:22:18 -03:00
dm1105 media: fix dm1105.c build error 2017-03-12 06:41:41 +01:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv mm: replace get_user_pages_unlocked() write/force parameters with gup_flags 2016-10-18 14:13:37 -07:00
mantis
meye
netup_unidvb [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
ngene [media] constify local structures 2016-09-19 16:22:18 -03:00
pluto2
pt1
pt3 [media] media: pci: pt3: don't print error when adding adapter fails 2016-08-24 13:58:46 -03:00
saa7134 saa7134: fix warm Medion 7134 EEPROM read 2017-07-15 12:16:17 +02:00
saa7146
saa7164 media: saa7164: Fix driver name in debug output 2018-08-03 07:55:22 +02:00
smipcie [media] constify local structures 2016-09-19 16:22:18 -03:00
solo6x10 solo6x10: release vb2 buffers in solo_stop_streaming() 2018-03-22 09:17:41 +01:00
sta2x11 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ttpci ttpci: address stringop overflow warning 2017-10-08 10:26:12 +02:00
tw68 [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
tw686x media: tw686x: Fix oops on buffer alloc failure 2018-09-26 08:36:31 +02:00
tw5864 tw5864: use dev_warn instead of WARN to shut up warning 2018-02-25 11:05:54 +01:00
zoran [media] zoran: convert g/s_crop to g/s_selection 2016-08-24 09:51:15 -03:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00