diff --git a/ChangeLog b/ChangeLog index b032655a5e..d71f38b540 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 28 16:41:41 EST 2007 Daniel P. Berrange + + * src/qemu_conf.c: Fix crash processing multiple tags + Fri Sep 28 16:17:41 CEST 2007 Daniel Veillard * include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c diff --git a/src/qemu_conf.c b/src/qemu_conf.c index b7ccc43803..eda181cde9 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -1312,7 +1312,7 @@ static struct qemud_vm_def *qemudParseXML(virConnectPtr conn, } def->ninputs++; input->next = NULL; - if (i == 0) { + if (def->inputs == NULL) { def->inputs = input; } else { prev->next = input;