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.
5 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 909272: Integer handling issues (INTEGER_OVERFLOW)
/src/util/virnetdevmacvlan.c: 190 in virNetDevMacVLanTapOpen()
_____________________________________________________________________________________________
*** CID 909272: Integer handling issues (INTEGER_OVERFLOW)
/src/util/virnetdevmacvlan.c: 190 in virNetDevMacVLanTapOpen()
184
185 ret = 0;
186
187 cleanup:
188 if (ret < 0) {
189 g_clear_pointer(tapname, g_free);
>>> CID 909272: Integer handling issues (INTEGER_OVERFLOW)
>>> Expression "i--", where "i" is known to be equal to 0, underflows the type of "i--", which is type "size_t".
190 while (i--)
191 VIR_FORCE_CLOSE(tapfd[i]);
192 }
193 return ret;
194 }
195
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview