Hi, Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
2 new defect(s) introduced to coreboot found with Coverity Scan. 91 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 2 of 2 defect(s) ** CID 1436157: Memory - illegal accesses (OVERRUN) /src/lib/fw_config.c: 86 in fw_config_get_found() ________________________________________________________________________________________________________ *** CID 1436157: Memory - illegal accesses (OVERRUN) /src/lib/fw_config.c: 86 in fw_config_get_found() 80 return __ffs64(mask); 81 } 82 83 const struct fw_config *fw_config_get_found(uint64_t field_mask) 84 { 85 const struct fw_config *config; >>> CID 1436157: Memory - illegal accesses (OVERRUN) >>> Overrunning array "cached_configs" of 64 4-byte elements at element >>> index 4294967295 (byte offset 17179869183) using index >>> "probe_index(field_mask)" (which evaluates to 4294967295). 86 config = cached_configs[probe_index(field_mask)]; 87 if (config && config->mask == field_mask) 88 return config; 89 90 return NULL; 91 } ** CID 1436156: Memory - corruptions (OVERRUN) /src/lib/fw_config.c: 116 in fw_config_init() ________________________________________________________________________________________________________ *** CID 1436156: Memory - corruptions (OVERRUN) /src/lib/fw_config.c: 116 in fw_config_init() 110 if (!dev->probe_list) 111 continue; 112 113 for (probe = dev->probe_list; probe && probe->mask != 0; probe++) { 114 if (fw_config_probe(probe)) { 115 match = true; >>> CID 1436156: Memory - corruptions (OVERRUN) >>> Overrunning array "cached_configs" of 64 4-byte elements at element >>> index 4294967295 (byte offset 17179869183) using index >>> "probe_index(probe->mask)" (which evaluates to 4294967295). 116 cached_configs[probe_index(probe->mask)] = probe; 117 break; 118 } 119 } 120 121 if (!match) { ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3D_JG0_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn0MdpVZQEVzsPXquYIHhmImy-2FnuPcK-2B3EywBgUgHJK7Obzafrl6DZgNWPWi-2BMPa9nXSE5KlQeyiKp8FII8xU4yIH28a0KDGr8Q0ww5FlX4UGvKuzyr0vVPAfjtktRilkyogAIeiXuCIOFOSVwHHOln4odEU6Jr2pmbS-2FRSJ4-2BDaLFAYpjvUX7YgHkRMC8gmmII-3D _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org