diff options
| author | Boris Ostrovsky <[email protected]> | 2014-08-04 22:17:23 +0000 |
|---|---|---|
| committer | David Vrabel <[email protected]> | 2014-10-23 15:24:02 +0000 |
| commit | 486edb24952c930966dad125f6727017353e9361 (patch) | |
| tree | 985f0c343a3211f0676973f08b330ede2fda4500 /drivers/net/xen-netback/interface.c | |
| parent | x86/xen: panic on bad Xen-provided memory map (diff) | |
| download | kernel-486edb24952c930966dad125f6727017353e9361.tar.gz kernel-486edb24952c930966dad125f6727017353e9361.zip | |
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 <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
