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 1493415: Null pointer dereferences (REVERSE_INULL) /src/soc/intel/alderlake/hsphy.c: 71 in heci_get_hsphy_payload()
________________________________________________________________________________________________________ *** CID 1493415: Null pointer dereferences (REVERSE_INULL) /src/soc/intel/alderlake/hsphy.c: 71 in heci_get_hsphy_payload() 65 uint32_t reserved[2]; 66 uint32_t status; 67 uint8_t hash_type; 68 uint8_t hash[MAX_HASH_SIZE]; 69 } __packed reply; 70
CID 1493415: Null pointer dereferences (REVERSE_INULL) Null-checking "buf_size" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
71 if (!buf || !buf_size || !hash_buf || !hash_alg) { 72 printk(BIOS_ERR, "%s: Invalid parameters\n", __func__); 73 return -1; 74 } 75 76 reply_size = sizeof(reply);
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...