qemu-e2k/hw/i386
Markus Armbruster 82d0794565 pci-assign: Fix potential read beyond buffer on -EBUSY
readlink() doesn't write a terminating null byte.
assign_failed_examine() passes the unterminated string to strrchr().
Oops.  Terminate it.

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2014-02-26 10:30:03 -07:00
..
kvm pci-assign: Fix potential read beyond buffer on -EBUSY 2014-02-26 10:30:03 -07:00
acpi-build.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
acpi-build.h
acpi-defs.h
acpi-dsdt-cpu-hotplug.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
acpi-dsdt-dbug.dsl
acpi-dsdt-hpet.dsl ACPI: Remove commented-out code from HPET._CRS 2014-02-10 11:09:33 +02:00
acpi-dsdt-isa.dsl ACPI: Fix AppleSMC _STA size 2014-01-26 13:06:48 +02:00
acpi-dsdt-pci-crs.dsl pc: Q35 DSDT: exclude CPU hotplug IO range from PCI bus resources 2014-01-26 13:11:44 +02:00
acpi-dsdt.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
acpi-dsdt.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
bios-linker-loader.c i386: Add missing include file for QEMU_PACKED 2014-02-01 13:43:52 +04:00
bios-linker-loader.h
kvmvapic.c QOM CPUState refactorings / X86CPU 2014-01-10 11:04:31 -08:00
Makefile.objs pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
multiboot.c
multiboot.h
pc_piix.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
pc_q35.c q35: document gigabyte_align 2014-01-26 13:11:45 +02:00
pc_sysfw.c hw/i386/pc_sysfw: support two flash drives 2013-12-23 13:12:34 +02:00
pc.c pc.c: better error message on initrd sizing failure 2014-02-05 16:55:50 +02:00
q35-acpi-dsdt.dsl pc: ACPI: unify source of CPU hotplug IO base/len 2014-01-26 13:11:44 +02:00
q35-acpi-dsdt.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
smbios.c smbios: Set system manufacturer, product & version by default 2013-12-10 13:29:22 +02:00
ssdt-misc.dsl
ssdt-misc.hex.generated
ssdt-pcihp.dsl acpi-build: enable hotplug for PCI bridges 2014-01-26 13:11:44 +02:00
ssdt-pcihp.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
ssdt-proc.dsl
ssdt-proc.hex.generated pc: ACPI: update acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated 2014-01-26 13:11:44 +02:00
xen_domainbuild.c
xen_domainbuild.h
xen_machine_pv.c