New Defects reported by Coverity Scan for libvirt
Hi, Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan. 2 new defect(s) introduced to libvirt found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 900678: Null pointer dereferences (FORWARD_NULL) /src/qemu/qemu_process.c: 4981 in qemuPrepareNVRAMFile() _____________________________________________________________________________________________ *** CID 900678: Null pointer dereferences (FORWARD_NULL) /src/qemu/qemu_process.c: 4981 in qemuPrepareNVRAMFile() 4975 loader->nvram->format != loader->nvramTemplateFormat) { 4976 virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s", 4977 _("conversion of the nvram template to another target format is not supported")); 4978 return -1; 4979 } 4980
CID 900678: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "loader".
4981 if (qemuPrepareNVRAMFileCommon(driver, loader->nvram->path, 4982 loader->nvramTemplate, reset_nvram) < 0) 4983 return -1; 4984 4985 return 0; 4986 }
** CID 900677: Null pointer dereferences (FORWARD_NULL) /src/qemu/qemu_process.c: 4981 in qemuPrepareNVRAMFile() _____________________________________________________________________________________________ *** CID 900677: Null pointer dereferences (FORWARD_NULL) /src/qemu/qemu_process.c: 4981 in qemuPrepareNVRAMFile() 4975 loader->nvram->format != loader->nvramTemplateFormat) { 4976 virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s", 4977 _("conversion of the nvram template to another target format is not supported")); 4978 return -1; 4979 } 4980
CID 900677: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "loader->nvram".
4981 if (qemuPrepareNVRAMFileCommon(driver, loader->nvram->path, 4982 loader->nvramTemplate, reset_nvram) < 0) 4983 return -1; 4984 4985 return 0; 4986 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview
participants (1)
-
scan-admin@coverity.com