Hi,
Please find the latest report on new defect(s) introduced to libvirt found with Coverity
Scan.
1 new defect(s) introduced to libvirt found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 416604: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 416604: Null pointer dereferences (FORWARD_NULL)
/src/qemu/qemu_snapshot.c: 3481 in qemuSnapshotDiscardMetadata()
3475 }
3476 }
3477
3478 if (unlink(snapFile) < 0)
3479 VIR_WARN("Failed to unlink %s", snapFile);
3480 if (update_parent)
>> CID 416604: Null pointer dereferences (FORWARD_NULL)
>> Passing "snap" to "virDomainMomentDropParent", which
dereferences null "snap->parent".
3481
virDomainMomentDropParent(snap);
3482 virDomainSnapshotObjListRemove(vm->snapshots, snap);
3483
3484 return ret;
3485 }
3486
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...