Skip to content
Snippets Groups Projects
user avatar
Gonglei (Arei) authored
Coverity spot:
Function xen_pt_bar_offset_to_index() may return a negative
value (-1) which is used as an index to d->io_regions[] down
the line.

Let's pass index directly as an argument to
xen_pt_bar_reg_parse().

Signed-off-by: default avatarGonglei <arei.gonglei@huawei.com>
Acked-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
d4cd4502
History
Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team