Re: [Qemu-devel] [PATCH v2 2/2] xen-pt: fix Out-of-bounds read

2015-02-10 Thread Gonglei
On 2015/2/10 16:11, Stefano Stabellini wrote: > On Tue, 10 Feb 2015, arei.gong...@huawei.com wrote: >> From: Gonglei >> >> The array length of s->real_device.io_regions[] is >> "PCI_NUM_REGIONS - 1". >> >> Signed-off-by: Gonglei > > Acked-by: Stefano Stabellini > > I am happy for these patches

Re: [Qemu-devel] [PATCH v2 2/2] xen-pt: fix Out-of-bounds read

2015-02-10 Thread Stefano Stabellini
On Tue, 10 Feb 2015, arei.gong...@huawei.com wrote: > From: Gonglei > > The array length of s->real_device.io_regions[] is > "PCI_NUM_REGIONS - 1". > > Signed-off-by: Gonglei Acked-by: Stefano Stabellini I am happy for these patches to go in via the qemu-trivial tree. > hw/xen/xen_pt_confi

[Qemu-devel] [PATCH v2 2/2] xen-pt: fix Out-of-bounds read

2015-02-09 Thread arei.gonglei
From: Gonglei The array length of s->real_device.io_regions[] is "PCI_NUM_REGIONS - 1". Signed-off-by: Gonglei --- hw/xen/xen_pt_config_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c index 710fe50..d99c22e 10