[libvirt] [PATCH] storage: Fix a NULL ptr dereference in virStorageBackendCreateQemuImg

Andrea Bolognani abologna at redhat.com
Thu Aug 4 12:30:35 UTC 2016

On Thu, 2016-08-04 at 07:46 -0400, John Ferlan wrote:
> > Should we check to make sure that vol and vol->target are
> > non-NULL as well?
> Well by this point vol would have already been dereferenced by the
> callers virStorageBackendGetBuildVolFromFunction or
> _virStorageBackendFileSystemVolBuild...

Cool. I didn't check further up the call stack, I just
figured I'd throw that out there :)

Andrea Bolognani / Red Hat / Virtualization

More information about the libvir-list mailing list