[coreboot] New Defects reported by Coverity Scan for coreboot

scan-admin at coverity.com scan-admin at coverity.com
Fri Oct 5 16:25:54 CEST 2018


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 1396010:  Null pointer dereferences  (FORWARD_NULL)
/src/security/tpm/tss/tcg-2.0/tss.c: 68 in tlcl_send_startup()


________________________________________________________________________________________________________
*** CID 1396010:  Null pointer dereferences  (FORWARD_NULL)
/src/security/tpm/tss/tcg-2.0/tss.c: 68 in tlcl_send_startup()
62     	response = tpm_process_command(TPM2_Startup, &startup);
63     
64     	if (response && (response->hdr.tpm_code == 0 ||
65     			 response->hdr.tpm_code == TPM_RC_INITIALIZE)) {
66     		return TPM_SUCCESS;
67     	}
>>>     CID 1396010:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "response".
68     	printk(BIOS_INFO, "%s: Startup return code is %x\n",
69     	       __func__, response->hdr.tpm_code);
70     	return TPM_E_IOERROR;
71     }
72     
73     uint32_t tlcl_resume(void)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bH-2FZ483O-2BcxFXL8EnScZk-2FK03sQPuIY-2F-2BUC5-2F1MeibpqZsG2gXVlJA6FVsrtmuM9Ns-2FKS5K-2B4Be9MvFTuwTv9EAL55BaWDAMdHVuxqXH7XPbEH2HA46iXnpL5-2BV2L6i0-2Bcr5zLQ81YuKKOXlIIygMe0YQPW74Y4gQNVJoNbSMTASg6DbeYITRMKVyEtWm0qAU-3D




More information about the coreboot mailing list