]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix use of uninitialized memory when releasing PCI slots
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 30 Jun 2011 14:01:54 +0000 (15:01 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 30 Jun 2011 17:04:01 +0000 (18:04 +0100)
commit56a77b4920e2a1e027be9f133fab469599864bc9
tree4119e010a3163f3c6dddddf6d49932693c384893
parent9f40b80ba86fe5ac3f9d5c0da43038fdf72331e3
Fix use of uninitialized memory when releasing PCI slots

The 'function' field in the PCI address was not correctly
initialized, so it was building the wrong address address
string and so not removing all functions from the in use
list.

* src/qemu/qemu_command.c: Fix initialization of PCI function
src/qemu/qemu_command.c