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.
2 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 1442304: Null pointer dereferences (NULL_RETURNS)
/src/soc/intel/braswell/ramstage.c: 128 in soc_fill_acpi_wake()
________________________________________________________________________________________________________
*** CID 1442304: Null pointer dereferences (NULL_RETURNS)
/src/soc/intel/braswell/ramstage.c: 128 in soc_fill_acpi_wake()
122 /* Save wake source information for calculating ACPI _SWS values */
123 int soc_fill_acpi_wake(uint32_t *pm1, uint32_t **gpe0)
124 {
125 struct chipset_power_state *ps =
cbmem_find(CBMEM_ID_POWER_STATE);
126 static uint32_t gpe0_sts;
127
>>> CID 1442304: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing "ps", which is known to be "NULL".
128 *pm1 = ps->pm1_sts & ps->pm1_en;
129
130 gpe0_sts = ps->gpe0_sts & ps->gpe0_en;
131 *gpe0 = &gpe0_sts;
132
133 return 1;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3Dx3NG_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2MWV4DMxtkjREa2wHkAHySOD8hAD4VJ5OWBXIBaEihSW-2FUV4hPPIQ3BL1-2FlCdP2PA5cJ6NuyRJjpZCgs-2FLlqmUpCLVNGnK5Cb6UkA05CpvpQ-2Bihhod8rdH8HJaBXNy6EdFQJ0mVaITcbizxiDAr-2FPL2MgTx-2BF4m36IfrirP1fn6P6XRdpjUJLWeS9DvaApkr0-3D
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]