qemu-e2k/tests/libqos
Dr. David Alan Gilbert c19f2b711e test qgraph.c: Fix segs due to out of scope default
The test uses the trick:
   if (!opts) {
     opts = &(QOSGraph...Options) { };
   }

  in a couple of places, however the temporary created
by the &() {}  goes out of scope at the bottom of the if,
and results in a seg or assert when opts-> fields are
used (on fedora 30's gcc 9).

Fixes: fc281c8020
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190405184037.16799-1-dgilbert@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2019-04-08 12:38:07 +02:00
..
aarch64-xlnx-zcu102-machine.c
ahci.c
ahci.h
arm-raspi2-machine.c
arm-sabrelite-machine.c
arm-smdkc210-machine.c
arm-virt-machine.c
arm-xilinx-zynq-a9-machine.c
e1000e.c
e1000e.h
fw_cfg.c
fw_cfg.h
i2c-imx.c
i2c-omap.c
i2c.c
i2c.h
libqos-pc.c
libqos-pc.h
libqos-spapr.c
libqos-spapr.h
libqos.c
libqos.h
malloc-pc.c
malloc-pc.h
malloc-spapr.c
malloc-spapr.h
malloc.c
malloc.h
pci-pc.c
pci-pc.h
pci-spapr.c tests/libqos: fix usage of bool in pci-spapr.c 2019-04-08 12:38:07 +02:00
pci-spapr.h
pci.c
pci.h
ppc64_pseries-machine.c
qgraph_internal.h
qgraph.c test qgraph.c: Fix segs due to out of scope default 2019-04-08 12:38:07 +02:00
qgraph.h
rtas.c
rtas.h
sdhci.c
sdhci.h
tpci200.c
usb.c
usb.h
virtio-9p.c
virtio-9p.h
virtio-balloon.c
virtio-balloon.h
virtio-blk.c
virtio-blk.h
virtio-mmio.c
virtio-mmio.h
virtio-net.c
virtio-net.h
virtio-pci.c
virtio-pci.h
virtio-rng.c
virtio-rng.h
virtio-scsi.c
virtio-scsi.h
virtio-serial.c
virtio-serial.h
virtio.c
virtio.h
x86_64_pc-machine.c