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 307500: Control flow issues (DEADCODE)
/src/hyperv/hyperv_driver.c: 565 in hypervDomainDefParsePhysicalDisk()
________________________________________________________________________________________________________
*** CID 307500: Control flow issues (DEADCODE)
/src/hyperv/hyperv_driver.c: 565 in hypervDomainDefParsePhysicalDisk()
559 }
560
561 driveNumberStr = g_strdup_printf("%u",
diskdrive->data->DriveNumber);
562 virDomainDiskSetSource(disk, driveNumberStr);
563
564 if (addr < 0)
>> CID 307500: Control flow issues (DEADCODE)
>> Execution cannot reach this statement: "goto cleanup;".
565
goto cleanup;
566
567 if (controller->data->ResourceType ==
MSVM_RASD_RESOURCETYPE_PARALLEL_SCSI_HBA) {
568 for (i = 0; i < HYPERV_MAX_SCSI_CONTROLLERS; i++) {
569 if (controller == scsiControllers[i]) {
570 ctrlr_idx = i;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...