Hi,
Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.
** CID 909293: Error handling issues (CHECKED_RETURN)
/src/hyperv/hyperv_driver.c: 2442 in hypervDomainScreenshot()
_____________________________________________________________________________________________
*** CID 909293: Error handling issues (CHECKED_RETURN)
/src/hyperv/hyperv_driver.c: 2442 in hypervDomainScreenshot()
2436
2437 virBufferAsprintf(&query,
2438 "ASSOCIATORS OF "
2439 "{Msvm_ComputerSystem.CreationClassName='Msvm_ComputerSystem',Name='%s'} "
2440 "WHERE ResultClass = Msvm_VirtualSystemSettingData",
2441 uuid_string);
>>> CID 909293: Error handling issues (CHECKED_RETURN)
>>> Calling "hypervAddEprParam" without checking return value (as is done elsewhere 4 out of 5 times).
2442 hypervAddEprParam(params, "TargetSystem", &query, Msvm_VirtualSystemSettingData_WmiInfo);
2443
2444 /* capture and parse the screenshot */
2445 if (hypervInvokeMethod(priv, ¶ms, &ret_doc) < 0)
2446 goto cleanup;
2447
Best regards,
The Coverity Scan Admin Team