xen-pt: fix Out-of-bounds read
The array length of s->real_device.io_regions[] is "PCI_NUM_REGIONS - 1". Signed-off-by: NGonglei <arei.gonglei@huawei.com> Acked-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
Showing
想要评论请 注册 或 登录