Staging: comedi: addi-data: NULL dereference of amcc in v_pci_card_list_init()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 31 Aug 2009 08:54:37 +0000 (10:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:34 +0000 (12:02 -0700)
commita2279ae5b58edb7cbe2196d08572fcf59f292354
treebd388ddaa7835818f485c898347cd16afc42b05b
parent14386fd10c33b6a6a53901a64832f34f038857cf
Staging: comedi: addi-data: NULL dereference of amcc in v_pci_card_list_init()

amcc allocation may fail, prevent a NULL dereference.

allocation may fail, prevent a dereference.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h
drivers/staging/comedi/drivers/addi-data/amcc_s5933_58.h