]> xenbits.xensource.com Git - libvirt.git/commit
Fix integer overflow in hotplug methods
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 26 May 2010 12:34:45 +0000 (13:34 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 26 May 2010 16:41:55 +0000 (17:41 +0100)
commitbbe29be9a810189ee4e324f50551c36b396c02cb
treeb1465cad4410cf2f957bf746a447c9f302ea620d
parentc444af1ac2533f1dd885002da087423084bbf723
Fix integer overflow in hotplug methods

The hotplug methods still had the qemuCmdFlags variable declared
as an int, instead of unsigned long long. This caused flag checks
to be incorrect for flags > 31

* src/qemu/qemu_driver.c: Fix integer overflow in hotplug
src/qemu/qemu_driver.c