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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]