On Fri, Nov 03, 2017 at 04:18:56PM +0200, Alberto Garcia wrote: > The crypto header is initialized only when QEMU is creating a new > image, so there's no chance of this happening on a corrupted image. > > If QEMU is really trying to allocate the header overlapping other > existing metadata sections then this is a serious bug in QEMU itself > so let's add an assertion. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > block/qcow2.c | 1 + > 1 file changed, 1 insertion(+)
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|