[coreboot] New Defects reported by Coverity Scan for coreboot

scan-admin at coverity.com scan-admin at coverity.com
Tue Jul 25 14:27:06 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.
1 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 1378270:  Error handling issues  (CHECKED_RETURN)
/src/soc/intel/skylake/igd.c: 147 in write_acpi_igd_opregion()


________________________________________________________________________________________________________
*** CID 1378270:  Error handling issues  (CHECKED_RETURN)
/src/soc/intel/skylake/igd.c: 147 in write_acpi_igd_opregion()
141     	/* If IGD is disabled, exit here */
142     	if (pci_read_config16(device, PCI_VENDOR_ID) == 0xFFFF)
143     		return current;
144     
145     	printk(BIOS_DEBUG, "ACPI: * IGD OpRegion\n");
146     	opregion = (igd_opregion_t *)current;
>>>     CID 1378270:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "init_igd_opregion" without checking return value (as is done elsewhere 5 out of 6 times).
147     	init_igd_opregion(opregion);
148     	update_igd_opregion(opregion);
149     	current += sizeof(igd_opregion_t);
150     	current = acpi_align_current(current);
151     
152     	printk(BIOS_DEBUG, "current = %lx\n", current);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bzTRwz5JANVbHzEjcMIDlWd6ZuJExkCH-2FADXRhbWUU0SeihspH4yG-2FZ-2BPB-2BAj0jBLU3fj6ej4Of9RqFPxNbFzar-2B8xSvEMqmxjJDDv6YZBD4V5Ux-2FkY17Hzh0d11JiAQEcwKXiTtLgT-2FVmrT1vSglHpOJ0sRgEXRqHXbkqxQexzRMxsZoQxLCwxvQh21E-2Ba6o-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_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bzTRwz5JANVbHzEjcMIDlW9ZiPOgfYe9fkRCX19ASmkUJkTIvF-2FFYMT40tcoPNoTC6FkVM-2Btm7u8EBASx5Omt8eTSe2dtCnIqzNzbF95hz7XoVewihPEhr3O7iBex55ju6-2BJORc9g10bHYcTlXIEVjQcOTNQ-2B2J2UHf-2FJwcV5393rAohXEzQ9rKzFMOfoPWo8-3D




More information about the coreboot mailing list