alistair23-linux/drivers/staging/comedi
Pan Bian a455178e59 staging: comedi: addi_apci_3xxx: check return value
Function pci_ioremap_bar() will return a NULL pointer if there is no
enough memory. However, in function apci3xxx_auto_attach(), the return
value of function pci_ioremap_bar() is not validated. This may result in
NULL dereference in following access to dev->mmio. This patch fixes the
bug.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-25 20:43:42 +02:00
..
drivers staging: comedi: addi_apci_3xxx: check return value 2017-04-25 20:43:42 +02:00
kcomedilib
comedi.h
comedi_buf.c staging: comedi: support vm_access_process for mmap'd buffer 2017-04-25 20:43:42 +02:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: support vm_access_process for mmap'd buffer 2017-04-25 20:43:42 +02:00
comedi_internal.h staging: comedi: support vm_access_process for mmap'd buffer 2017-04-25 20:43:42 +02:00
comedi_pci.c
comedi_pci.h
comedi_pcmcia.c
comedi_pcmcia.h
comedi_usb.c
comedi_usb.h
comedidev.h
comedilib.h
drivers.c
Kconfig staging: comedi: labpc: fix isadma dependency 2017-04-08 12:54:09 +02:00
Makefile
proc.c
range.c
TODO