tiny spice patch queue
Hi,
please pull a qxl bugfix.
thanks,
Gerd
The following changes since commit 515aa3c57986b3e26558d72ecaeb7545ecd30510:
check-qstring: remove check.h include (2012-01-12 11:33:22 -0600)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu spice.v47
Markus Armbruster (1):
qxl: Slot sanity check in qxl_phys2virt() is off by one, fix
hw/qxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
PATCH 1/1 qxl: Slot sanity check in qxl_phys2virt() is off by one, fix
From: Markus Armbruster <[email protected]>
Spotted by Coverity.
--- hw/qxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/qxl.c +1 -1
@@ -1020,7 +1020,7 @@ void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL pqxl, int group_id)case MEMSLOT_GROUP_HOST :return (void *)offset;case MEMSLOT_GROUP_GUEST : -PANIC_ON (slot >NUM_MEMSLOTS ); +PANIC_ON (slot >=NUM_MEMSLOTS );PANIC_ON (!qxl->guest_slots[slot].active);PANIC_ON (offset < qxl->guest_slots[slot].delta); offset -= qxl->guest_slots[slot].delta;
Signature · 1 line
1.7.1
Quoted 3 lines · Gerd Hoffmann
Hi,please pull a qxl bugfix.
Pulled. Thanks.
Regards,
Anthony Liguori
Quoted 18 lines
thanks,
GerdThe following changes since commit
515aa3c57986b3e26558d72ecaeb7545ecd30510:check-qstring: remove check.h include (2012-01-12 11:33:22 -0600)are available in the git repository at:
git://anongit.freedesktop.org/spice/qemuspice.v47Markus Armbruster (1):
qxl: Slot sanity check inqxl_phys2virt()is off by one, fixhw/qxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)