linux_dsm_epyc7002/drivers/media/pci
Daniel Scheller fc3fb43e41 media: ddbridge: fix dereference before check
Both ts_release() and ts_open() can use "output" before check (smatch):

  drivers/media/pci/ddbridge/ddbridge-core.c:816 ts_release() warn: variable dereferenced before check 'output' (see line 809)
  drivers/media/pci/ddbridge/ddbridge-core.c:836 ts_open() warn: variable dereferenced before check 'output' (see line 828)

Fix by performing checks on those pointers.

Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Tested-by: Richard Scobie <r.scobie@clear.net.nz>
Tested-by: Jasmin Jessich <jasmin@anw.at>
Tested-by: Dietmar Spingler <d_spingler@freenet.de>
Tested-by: Manfred Knick <Manfred.Knick@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-20 07:08:53 -04:00
..
b2c2 media: b2c2: constify pci_device_id 2017-08-09 09:46:30 -04:00
bt8xx media: bt8xx: bttv: constify pci_device_id 2017-08-09 09:45:48 -04:00
cobalt media: cobalt: constify pci_device_id 2017-08-09 09:46:16 -04:00
cx18 media: cx18: constify pci_device_id 2017-08-09 09:47:41 -04:00
cx88 [media] cx88: Fix regression in initial video standard setting 2017-06-06 07:26:25 -03:00
cx23885 media: cx23885: constify pci_device_id 2017-08-09 09:44:06 -04:00
cx25821 media: cx25821: get rid of CX25821_VERSION_CODE 2017-07-20 16:21:38 -04:00
ddbridge media: ddbridge: fix dereference before check 2017-08-20 07:08:53 -04:00
dm1105 media: dm1105: constify pci_device_id 2017-08-09 09:45:01 -04:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv media: ivtv: constify pci_device_id 2017-08-09 09:46:02 -04:00
mantis media: mantis: hopper_cards: constify pci_device_id 2017-08-09 09:47:26 -04:00
meye media: meye: constify pci_device_id 2017-08-09 09:44:32 -04:00
netup_unidvb media: netup_unidvb: constify pci_device_id 2017-08-09 09:43:38 -04:00
ngene media: ngene: constify i2c_algorithm structure 2017-07-20 14:59:58 -04:00
pluto2 media: pluto2: constify pci_device_id 2017-08-09 09:44:46 -04:00
pt1 media: pt1: constify pci_device_id 2017-08-09 09:46:57 -04:00
pt3 media: media/dvb: earth-pt3: fix hang-up in a rare case 2017-07-20 15:01:30 -04:00
saa7134 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
saa7146 media: saa7146: hexium_gemini: constify pci_device_id 2017-08-09 09:50:55 -04:00
saa7164 media: saa7164: constify pci_device_id 2017-08-09 09:46:44 -04:00
smipcie [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
solo6x10 media: solo6x10: export hardware GPIO pins 8:31 to gpiolib interface 2017-08-09 10:29:51 -04:00
sta2x11 [media] media: pci: constify vb2_ops structure 2017-02-03 14:23:39 -02:00
ttpci media: ttpci: av7110: constify pci_device_id 2017-08-09 09:50:09 -04:00
tw68 [media] tw68: don't break long lines 2016-10-21 09:29:44 -02:00
tw686x [media] tw686x: silent -Wformat-security warning 2017-02-03 07:20:19 -02:00
tw5864 media: tw5864, fc0011: better handle WARN_ON() 2017-06-24 16:19:27 -03:00
zoran media: zoran: constify pci_device_id 2017-08-09 09:45:18 -04: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