[libvirt] [PATCH] don't let a bogus packet trigger over-allocation and segfault