New Defects reported by Coverity Scan for libvirt
scan-admin at coverity.com
scan-admin at coverity.com
Wed Aug 23 05:23:38 UTC 2023
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-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqXyKjvBooc6PgQklkMPQjdETL0zD-2BwwS2MT3CUz0PGk4uLnDSo8-2B2mZ3lSeSytwjA-3D7-1B_CkO38-2FnXVYPAlDbR1ZxdHNqvqoSWeUuqu9763V-2FVMwylVuemTNj8j5a60-2BltsU-2BxbQCdTp23Mb8ltZYwWuXYGikqWA9OuDKsA8eoONe-2BM0Ou-2FKYnV5XuvnyUrGZiD4W21thZN7eVzdGybWIEDTJ4z83-2BibSc9j9osGx3Abk7prJKv5kWdxBmV5NZjSrSYQIlLSNhJxgd8nV4MY-2By-2BT-2BChA-3D-3D
More information about the Libvirt-ci
mailing list