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. 4 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 1523711: Memory - illegal accesses (BUFFER_SIZE) /src/mainboard/prodrive/hermes/mainboard.c: 114 in update_board_layout()
________________________________________________________________________________________________________ *** CID 1523711: Memory - illegal accesses (BUFFER_SIZE) /src/mainboard/prodrive/hermes/mainboard.c: 114 in update_board_layout() 108 /* Update CPU fields */ 109 for (struct device *cpu = all_devices; cpu; cpu = cpu->next) { 110 if (!is_enabled_cpu(cpu)) 111 continue; 112 layout.cpu_count++; 113 if (!layout.cpu_name[0])
CID 1523711: Memory - illegal accesses (BUFFER_SIZE) Calling "strncpy" with a maximum size argument of 50 bytes on destination array "layout.cpu_name" of size 50 bytes might leave the destination string unterminated.
114 strncpy(layout.cpu_name, cpu->name, sizeof(layout.cpu_name)); 115 } 116 117 if (cpuid_get_max_func() >= 0x16) 118 layout.cpu_max_non_turbo_frequency = cpuid_eax(0x16); 119
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...