]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Don't traverse childless nodes in vshNodeIsSuperset
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 28 Nov 2011 16:43:51 +0000 (17:43 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 28 Nov 2011 17:17:14 +0000 (18:17 +0100)
commit2d0fc93fdd6de6d1bc2d3b1b2af69bdd51205f79
treef0360b313b837db3084ebff649dfec0572e3dac6
parentd360795d608105652d64656a93b6221c35fbaf5a
virsh: Don't traverse childless nodes in vshNodeIsSuperset

If both nodes do not have any children, we pass zero to
virBitmapAlloc which returns NULL. In turn we report OOM error
and return false (meaning nodes are different). This is not true.
tools/virsh.c