Hi,
Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.
** 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
Best regards,
The Coverity Scan Admin Team