On Tue, May 31, 2016 at 12:33:26 +0200, Michal Privoznik wrote: > As unlikely as it might seem, func passed to this function can > return NULL. And in some cases it indeed does so: > virDomainDefGetVcpuSched and virDomainDefGetIOThreadSched. > However, the function I'm fixing blindly dereference value func > returned thus leading to SIGSEGV. Same as in the coverity case complaining about this it won't happen here since we are iterating a known list of items that was collected beforehand and thus no crashing will happen.
Attachment:
signature.asc
Description: Digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list