Hi, Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
2 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 2 of 2 defect(s) ** CID 1488815: Resource leaks (RESOURCE_LEAK) /src/drivers/usb/hub/acpi.c: 48 in usb_hub_add_ports() ________________________________________________________________________________________________________ *** CID 1488815: Resource leaks (RESOURCE_LEAK) /src/drivers/usb/hub/acpi.c: 48 in usb_hub_add_ports() 42 while ((port = dev_bus_each_child(dev->link_list, port)) != NULL) { 43 if (child_count++ >= config->port_count) { 44 printk(BIOS_WARNING, "%s cannot be added. Port Count limit reached.\n", 45 dev_name(port)); 46 continue; 47 } >>> CID 1488815: Resource leaks (RESOURCE_LEAK) >>> Failing to save or free storage allocated by "usb_hub_acpi_name(port)" >>> leaks it. 48 acpigen_write_device(usb_hub_acpi_name(port)); 49 acpigen_write_name_byte("_ADR", port->path.usb.port_id + 1); 50 acpigen_write_device_end(); 51 } 52 } 53 ** CID 1488814: Uninitialized variables (UNINIT) ________________________________________________________________________________________________________ *** CID 1488814: Uninitialized variables (UNINIT) /src/soc/intel/alderlake/acpi.c: 307 in soc_lpi_get_constraints() 301 snprintf(path, sizeof(path), 302 CONFIG_ACPI_CPU_STRING, i); 303 break; 304 } 305 } 306 >>> CID 1488814: Uninitialized variables (UNINIT) >>> Using uninitialized value "*path" when calling >>> "acpigen_emit_namestring". 307 acpigen_emit_namestring(path); 308 break; 309 310 default: 311 /* Unhandled */ 312 printk(BIOS_WARNING, ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3D0LjZ_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn1WK9C6SYpARbf5OEsbRDG8FNxIhio-2B4PIzTS-2FrP6kBdkpwuJFlq3yv80NtcDTeERX6FI6Ryd2BpAtGxrhfbDEfIZDstpbGY1HQBzEZVQIEZwO3VC-2Bv7KRAjdDKoW1J0d2DuoYM-2F-2Fy7pG8HwAoZsiFPCEpH8V64hqzKVVu2yLwSrQ-3D-3D _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org