+Wed Sep 3 09:08:01 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+ * src/storage_conf.c: add one missing check in virStoragePoolDefParseDoc
+
Tue Sep 2 17:30:50 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/domain_conf.c: fix a parsing error for input devices
if (ret->source.name == NULL) {
/* source name defaults to pool name */
ret->source.name = strdup(ret->name);
+ if (ret->source.name == NULL) {
+ virStorageReportError(conn, VIR_ERR_NO_MEMORY, "%s",
+ _("pool name"));
+ goto cleanup;
+ }
}
}