[libvirt PATCH 08/11] tests: Prevent malloc with size 0