Hi,
Please find the latest report on new defect(s) introduced to coreboot found
with Coverity Scan.
1 new defect(s) introduced to coreboot found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1490681: Memory - illegal accesses (OVERRUN)
/src/soc/intel/meteorlake/fsp_params.c: 109 in fill_fsps_lpss_params()
________________________________________________________________________________________________________
*** CID 1490681: Memory - illegal accesses (OVERRUN)
/src/soc/intel/meteorlake/fsp_params.c: 109 in fill_fsps_lpss_params()
103 }
104
105 max_port = get_max_gspi_port();
106 for (i = 0; i < max_port; i++) {
107 s_cfg->SerialIoSpiCsMode[i] =
config->serial_io_gspi_cs_mode[i];
108 s_cfg->SerialIoSpiCsState[i] =
config->serial_io_gspi_cs_state[i];
>>> CID 1490681: Memory - illegal accesses (OVERRUN)
>>> Overrunning array "gspi_dev" of 2 4-byte elements at element index 2
>>> (byte offset 11) using index "i" (which evaluates to 2).
109 s_cfg->SerialIoSpiMode[i] =
is_devfn_enabled(gspi_dev[i]) ?
110 config->serial_io_gspi_mode[i] : 0;
111 }
112
113 max_port = get_max_uart_port();
114 for (i = 0; i < max_port; i++) {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3DY6iW_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2ZvTjaZg3EIMKBJDnSzwJtYKFi-2FBiP-2FufXSyurBrqC0xzrzAeLSMPYX8Mwc0Q08jbVHRj2xV-2BHE1IA-2BQUDsq-2Fgf6-2BWni9mTrtfaanq4C1-2FHNC63TestR-2Bd0isxjY-2Bttb9O6Bf4adq6tX3MoG-2FUm2UVx916LzoXtr-2FCy2reKT-2F8-2Fw-3D-3D
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]