linux/drivers/media/pci/cobalt
Pan Bian b9150e8131 [media] cobalt: fix unchecked return values
Function pci_find_ext_capability() may return 0, which is an invalid
address. In function cobalt_pcie_status_show(), its return value is used
without validation. This patch adds checks to validate the return
address.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-06 07:29:15 -03:00
..
cobalt-alsa-main.c
cobalt-alsa-pcm.c [media] pci: constify snd_pcm_ops structures 2016-09-19 16:18:42 -03:00
cobalt-alsa-pcm.h
cobalt-alsa.h
cobalt-cpld.c [media] cobalt: fix spelling mistake: "Celcius" -> "Celsius" 2017-01-30 15:45:06 -02:00
cobalt-cpld.h
cobalt-driver.c [media] cobalt: fix unchecked return values 2017-06-06 07:29:15 -03:00
cobalt-driver.h [media] media/cobalt: use pci_irq_allocate_vectors 2016-12-21 07:04:42 -02:00
cobalt-flash.c [media] cobalt: fix sparse warnings 2015-05-30 11:20:50 -03:00
cobalt-flash.h
cobalt-i2c.c [media] cobalt: fix sparse warnings 2015-05-30 11:21:30 -03:00
cobalt-i2c.h
cobalt-irq.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
cobalt-irq.h
cobalt-omnitek.c [media] cobalt: fix compiler warnings on 32 bit OSes 2015-05-30 11:19:51 -03:00
cobalt-omnitek.h
cobalt-v4l2.c [media] cobalt: fix copy-and-paste error 2016-11-16 15:28:13 -02:00
cobalt-v4l2.h
Kconfig [media] cobalt: add MTD dependency 2016-04-13 17:08:51 -03:00
m00233_video_measure_memmap_package.h
m00235_fdma_packer_memmap_package.h
m00389_cvi_memmap_package.h
m00460_evcnt_memmap_package.h
m00473_freewheel_memmap_package.h
m00479_clk_loss_detector_memmap_package.h
m00514_syncgen_flow_evcnt_memmap_package.h
Makefile