提交 49a5262d 编写于 作者: D Daniel P. Berrange

Fix potential use of uninitialized value in virDomainGetVcpuPinInfo

The virDomainGetVcpuPinInfo python wrapper had a potential use of
uninitialized values
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 484cc321
......@@ -1769,7 +1769,7 @@ libvirt_virDomainGetVcpuPinInfo(PyObject *self ATTRIBUTE_UNUSED,
virDomainPtr domain;
PyObject *pyobj_domain, *pycpumaps = NULL;
virDomainInfo dominfo;
unsigned char *cpumaps;
unsigned char *cpumaps = NULL;
size_t cpumaplen, vcpu, pcpu;
unsigned int flags;
int i_retval, cpunum;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册