提交 360afebf 编写于 作者: P Philipp Hahn 提交者: Eric Blake

xen-xm: SIGSEGV in xenXMDomainDefineXML: filename

filename is not initialized to NULL while it's unconditionally freed in
the error path.
Signed-off-by: NPhilipp Hahn <hahn@univention.de>
上级 700102c9
......@@ -1070,7 +1070,7 @@ int xenXMDomainCreate(virDomainPtr domain) {
virDomainPtr xenXMDomainDefineXML(virConnectPtr conn, const char *xml)
{
virDomainPtr ret;
char *filename;
char *filename = NULL;
const char *oldfilename;
virDomainDefPtr def = NULL;
virConfPtr conf = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册