New Defects reported by Coverity Scan for libvirt
by scan-admin@coverity.com
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 469848: Error handling issues (CHECKED_RETURN)
/src/util/virfirewalld.c: 474 in virFirewallDInterfaceUnsetZone()
________________________________________________________________________________________________________
*** CID 469848: Error handling issues (CHECKED_RETURN)
/src/util/virfirewalld.c: 474 in virFirewallDInterfaceUnsetZone()
468 * we'll just throw it away without logging it anywhere.
469 */
470 error = g_new0(virError, 1);
471
472 message = g_variant_new("(ss)", "", iface);
473
>>> CID 469848: Error handling issues (CHECKED_RETURN)
>>> Calling "virGDBusCallMethod" without checking return value (as is done elsewhere 17 out of 20 times).
474 virGDBusCallMethod(sysbus,
475 NULL,
476 NULL,
477 error,
478 VIR_FIREWALL_FIREWALLD_SERVICE,
479 "/org/fedoraproject/FirewallD1",
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy...