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 307570: Error handling issues (CHECKED_RETURN)
/src/qemu/qemu_command.c: 3320 in qemuBuildMemoryDeviceStr()
________________________________________________________________________________________________________
*** CID 307570: Error handling issues (CHECKED_RETURN)
/src/qemu/qemu_command.c: 3320 in qemuBuildMemoryDeviceStr()
3314 virBufferAddLit(&buf, "unarmed=on,");
3315 }
3316
3317 virBufferAsprintf(&buf, "memdev=mem%s,id=%s",
3318 mem->info.alias, mem->info.alias);
3319
>> CID 307570: Error handling issues (CHECKED_RETURN)
>> Calling "qemuBuildDeviceAddressStr" without checking return value
(as is done elsewhere 24 out of 25 times).
3320
qemuBuildDeviceAddressStr(&buf, def, &mem->info, qemuCaps);
3321 break;
3322
3323 case VIR_DOMAIN_MEMORY_MODEL_NONE:
3324 case VIR_DOMAIN_MEMORY_MODEL_LAST:
3325 break;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...