• J
    Avoid libvirtd crash when cgroups is not configured on host · 09fafa1e
    Jim Fehlig 提交于
    Invoking virDomainSetMemory() on lxc driver results in libvirtd
    segfault when cgroups has not been configured on the host.
    
    Ensure driver->cgroup is non-null before invoking
    virCgroupForDomain().  To prevent similar segfaults in the future,
    ensure driver parameter to virCgroupForDomain() is non-null before
    dereferencing.
    09fafa1e
cgroup.c 23.2 KB