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. 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 2 of 2 defect(s)
** CID 1381709: Null pointer dereferences (FORWARD_NULL) /src/soc/intel/skylake/pmutil.c: 220 in soc_get_gpi_gpe_configs()
________________________________________________________________________________________________________ *** CID 1381709: Null pointer dereferences (FORWARD_NULL) /src/soc/intel/skylake/pmutil.c: 220 in soc_get_gpi_gpe_configs() 214 215 /* Look up the device in devicetree */ 216 DEVTREE_CONST struct device *dev = dev_find_slot(0, PCH_DEVFN_PMC); 217 if (!dev || !dev->chip_info) { 218 printk(BIOS_ERR, "BUG! Could not find SOC devicetree config\n"); 219 }
CID 1381709: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "dev".
220 config = dev->chip_info; 221 222 /* Assign to out variable */ 223 *dw0 = config->gpe0_dw0; 224 *dw1 = config->gpe0_dw1; 225 *dw2 = config->gpe0_dw2;
** CID 1381708: Null pointer dereferences (FORWARD_NULL) /src/soc/intel/skylake/pmutil.c: 223 in soc_get_gpi_gpe_configs()
________________________________________________________________________________________________________ *** CID 1381708: Null pointer dereferences (FORWARD_NULL) /src/soc/intel/skylake/pmutil.c: 223 in soc_get_gpi_gpe_configs() 217 if (!dev || !dev->chip_info) { 218 printk(BIOS_ERR, "BUG! Could not find SOC devicetree config\n"); 219 } 220 config = dev->chip_info; 221 222 /* Assign to out variable */
CID 1381708: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "config".
223 *dw0 = config->gpe0_dw0; 224 *dw1 = config->gpe0_dw1; 225 *dw2 = config->gpe0_dw2; 226 } 227 228 int rtc_failure(void)
________________________________________________________________________________________________________ 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...