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 469990: Null pointer dereferences (FORWARD_NULL) /src/util/virnetdevopenvswitch.c: 961 in virNetDevOpenvswitchInterfaceSetQos() ________________________________________________________________________________________________________ *** CID 469990: Null pointer dereferences (FORWARD_NULL) /src/util/virnetdevopenvswitch.c: 961 in virNetDevOpenvswitchInterfaceSetQos() 955 if (virNetDevOpenvswitchInterfaceClearTxQos(ifname, vmuuid) < 0) { 956 VIR_WARN("Clean tx qos for interface %s failed", ifname); 957 } 958 } 959 960 if (rx) {
CID 469990: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "tx".
961 if (rx->peak && tx->peak != rx->average) { 962 VIR_WARN("Setting different 'peak' value than 'average' for QoS for OVS interface %s might have unexpected results", 963 ifname); 964 } 965 if (virNetDevOpenvswitchInterfaceSetRxQos(ifname, rx) < 0) 966 return -1;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2B...
participants (1)
-
scan-admin@coverity.com