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. 52 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 1361875: Memory - illegal accesses (BUFFER_SIZE_WARNING) /src/soc/intel/apollolake/meminit.c: 311 in save_lpddr4_dimm_info()
________________________________________________________________________________________________________ *** CID 1361875: Memory - illegal accesses (BUFFER_SIZE_WARNING) /src/soc/intel/apollolake/meminit.c: 311 in save_lpddr4_dimm_info() 305 dest_dimm->dimm_size = src_dimm->SizeInMb; 306 dest_dimm->ddr_type = memory_info_hob->MemoryType; 307 dest_dimm->ddr_frequency = 308 memory_info_hob->MemoryFrequencyInMHz; 309 dest_dimm->channel_num = channel_info->ChannelId; 310 dest_dimm->dimm_num = src_dimm->DimmId;
CID 1361875: Memory - illegal accesses (BUFFER_SIZE_WARNING) Calling strncpy with a maximum size argument of 19 bytes on destination array "dest_dimm->module_part_number" of size 19 bytes might leave the destination string unterminated.
311 strncpy((char *)dest_dimm->module_part_number, 312 lp4cfg->skus[mem_sku].part_num, 313 sizeof(dest_dimm->module_part_number)); 314 315 switch (memory_info_hob->DataWidth) { 316 case 8:
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "coreboot@coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...