Coverity-updates archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New Defects reported by Coverity Scan for NetBSD-i386-kernel
Hi,
Please find the latest report on new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.
3 new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.
3 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 3 of 3 defect(s)
** CID 1271021: Memory - corruptions (OVERRUN)
/sys/dev/pci/if_iwm.c: 5351 in iwm_setrates()
________________________________________________________________________________________________________
*** CID 1271021: Memory - corruptions (OVERRUN)
/sys/dev/pci/if_iwm.c: 5351 in iwm_setrates()
5345 if (iwm_rates[ridx].rate == rate)
5346 break;
5347 if (ridx > IWM_RIDX_MAX)
5348 DPRINTF(("%s: WARNING: device rate for %d not found!\n",
5349 DEVNAME(sc), rate));
5350 else
>>> CID 1271021: Memory - corruptions (OVERRUN)
>>> Overrunning array "in->in_ridx" of 15 bytes at byte offset 15 using index "i" (which evaluates to 15).
5351 in->in_ridx[i] = ridx;
5352 }
5353
5354 /* then construct a lq_cmd based on those */
5355 memset(lq, 0, sizeof(*lq));
5356 lq->sta_id = IWM_STATION_ID;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/1450?tab=overview
To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782 .
Home |
Main Index |
Thread Index |
Old Index