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 469764: Memory - corruptions (OVERRUN) ________________________________________________________________________________________________________ *** CID 469764: Memory - corruptions (OVERRUN) /src/util/virbitmap.c: 1198 in virBitmapShrink() 1192 return; 1193 1194 map->nbits = b; 1195 map->map_len = virBitmapBuffsize(b); 1196 map->map = g_renew(unsigned long, map->map, map->map_len); 1197 map->map_alloc = map->map_len;
CID 469764: Memory - corruptions (OVERRUN) Calling "virBitmapClearTail" with "map->map" and "map->map_len" is suspicious because of the very large index, 288230376151711744. The index may be due to a negative parameter being interpreted as unsigned.
1198 virBitmapClearTail(map);
________________________________________________________________________________________________________ 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