[libvirt] [PATCHv2 2/2] openvz: avoid potential buffer overflow