提交 15fd90b6 编写于 作者: J Jiri Denemark

conf: Don't free uninitialized pointer

This causes libvirtd to crash when both <boot dev='...'/> and <boot
order='...'/> are used in one domain XML. Introduced by
5fa3d775
上级 5d4b0c4c
......@@ -6430,7 +6430,8 @@ virDomainDefParseBootXML(xmlXPathContextPtr ctxt,
{
xmlNodePtr *nodes = NULL;
int i, n;
char *bootstr, *useserial;
char *bootstr;
char *useserial = NULL;
int ret = -1;
unsigned long deviceBoot, serialPorts;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册