summaryrefslogtreecommitdiff
path: root/drivers/scsi/qlogicpti.c
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2014-08-05 02:17:23 +0400
committerDavid Vrabel <david.vrabel@citrix.com>2014-10-23 19:24:02 +0400
commit486edb24952c930966dad125f6727017353e9361 (patch)
tree985f0c343a3211f0676973f08b330ede2fda4500 /drivers/scsi/qlogicpti.c
parent1ea644c8f93f3435760d8b88c25d56475d8b7778 (diff)
downloadlinux-486edb24952c930966dad125f6727017353e9361.tar.xz
xen/pci: Allocate memory for physdev_pci_device_add's optarr
physdev_pci_device_add's optarr[] is a zero-sized array and therefore reference to add.optarr[0] is accessing memory that does not belong to the 'add' variable. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
0 files changed, 0 insertions, 0 deletions