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. 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 314147: Error handling issues (CHECKED_RETURN) /src/hyperv/hyperv_driver.c: 1083 in hypervDomainAttachSyntheticEthernetAdapter() ________________________________________________________________________________________________________ *** CID 314147: Error handling issues (CHECKED_RETURN) /src/hyperv/hyperv_driver.c: 1083 in hypervDomainAttachSyntheticEthernetAdapter() 1077 /* 1078 * Step 1: Create the Msvm_SyntheticEthernetPortSettingData object 1079 * that holds half the settings for the new adapter we are creating 1080 */ 1081 portResourceType = g_strdup_printf("%d", MSVM_RASD_RESOURCETYPE_ETHERNET_ADAPTER); 1082
CID 314147: Error handling issues (CHECKED_RETURN) Calling "virUUIDGenerate" without checking return value (as is done elsewhere 18 out of 20 times).
1083 virUUIDGenerate(vsiGuid); 1084 virUUIDFormat(vsiGuid, guidString); 1085 virtualSystemIdentifiers = g_strdup_printf("{%s}", guidString); 1086 1087 virMacAddrFormat(&net->mac, macString); 1088 macAddressNoColons = virStringReplace(macString, ":", "");
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com