]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
pcihp: fix possible array out of bounds
authorGonglei <arei.gonglei@huawei.com>
Wed, 20 Aug 2014 05:52:30 +0000 (13:52 +0800)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 5 Mar 2015 12:24:34 +0000 (12:24 +0000)
commit94d09f22b790648493038f964d2fc171b26f52f5
treeeb318e5f496bb078003824a2427d1d6c140cf548
parent07fcd79289717c076b39d36ec666653422ee0646
pcihp: fix possible array out of bounds

Prevent out-of-bounds array access on
acpi_pcihp_pci_status.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/acpi/pcihp.c