mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 16:15:19 +00:00
cpu: Fix segfault in the ppc64 driver
Commit adb865d introduced some changes in ppc64DriverNodeData() that cause libvirtd to crash on startup unless this patch is applied as well.
This commit is contained in:
parent
b044e3257f
commit
133c25c81c
@ -628,7 +628,7 @@ ppc64DriverNodeData(virArch arch)
|
||||
if (VIR_ALLOC(nodeData) < 0)
|
||||
goto error;
|
||||
|
||||
if (VIR_ALLOC(data) < 0)
|
||||
if (VIR_ALLOC(nodeData->data.ppc64) < 0)
|
||||
goto error;
|
||||
|
||||
data = nodeData->data.ppc64;
|
||||
|
Loading…
x
Reference in New Issue
Block a user