[coreboot] New Defects reported by Coverity Scan for coreboot

scan-admin at coverity.com scan-admin at coverity.com
Fri Aug 25 11:52:15 CEST 2017


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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1379932:  Null pointer dereferences  (FORWARD_NULL)
/src/northbridge/amd/agesa/state_machine.c: 299 in agesa_execute_state()


________________________________________________________________________________________________________
*** CID 1379932:  Null pointer dereferences  (FORWARD_NULL)
/src/northbridge/amd/agesa/state_machine.c: 299 in agesa_execute_state()
293     
294     	status = amd_create_struct(&aip, func, buf, len);
295     	ASSERT(status == AGESA_SUCCESS);
296     
297     	/* Must call the function buffer was allocated for.*/
298     	AMD_CONFIG_PARAMS *StdHeader = aip.NewStructPtr;
>>>     CID 1379932:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "StdHeader".
299     	ASSERT(StdHeader->Func == func);
300     
301     	if (ENV_ROMSTAGE)
302     		final = romstage_dispatch(cb, func, StdHeader);
303     
304     	if (ENV_RAMSTAGE)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bJBu-2BCVZ9RHZSpvzGC1w4U-2Bm4yVYcP8RQeL-2FoXWI7eszatNxAhTHYpAc9llw-2BV7bGq-2FZXkuQcrPfgKMb8oXIfOP2OFvO5DMtbslH3vEKeKwZgcscKmeQb6GJOgn8LJPugMuXqIK-2Bpvw8KMturE223CQ8Qj9wwIR86bTnkTA5uy8bBIIZYZCWxowcUaHr9aIUg-3D

To manage Coverity Scan email notifications for "coreboot at coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4e-2BpBzwOa5gzBZa9dWpDbzfofODnVj1enK2UkK0-2BgCCqyeem8IVKvTxSaOFkteZFcnohwvb2rnYNjswGryEWCURnUk6WHU42sbOmtOjD-2Bx5c-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bJBu-2BCVZ9RHZSpvzGC1w4UKpw0tOz-2FJIwYdAwgysPt54a-2FNjDuHVa4O-2FkRA3EVJ7-2B6t9GMSKVRWMZmAYj9JUOy8OQxu7DZ7VWMwFhvf7DuuxVo-2FlXSw9VzzQtm16XqGiw06OCEfhSbXY84LYtPLzCBmu7Jklv6N75Z70FOHx7zDRCH91ZpozqfqY9t4Sx-2Fk-2Fo-3D




More information about the coreboot mailing list