mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
Fix potential use of uninitialized value in virDomainGetVcpuPinInfo
The virDomainGetVcpuPinInfo python wrapper had a potential use of uninitialized values Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
484cc3217b
commit
49a5262d2f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user