Hi,
Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
5 new defect(s) introduced to coreboot found with Coverity Scan. 2 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 5 of 5 defect(s)
** CID 1380296: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 718 in acpi_dp_add_property_list()
________________________________________________________________________________________________________ *** CID 1380296: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 718 in acpi_dp_add_property_list() 712 acpi_dp_add_string(dp, prop->name, prop->string); 713 break; 714 case ACPI_DP_TYPE_REFERENCE: 715 acpi_dp_add_reference(dp, prop->name, prop->string); 716 break; 717 case ACPI_DP_TYPE_ARRAY:
CID 1380296: Resource leaks (RESOURCE_LEAK) Ignoring storage allocated by "acpi_dp_add_array(dp, (*prop).array)" leaks it.
718 acpi_dp_add_array(dp, prop->array); 719 break; 720 case ACPI_DP_TYPE_CHILD: 721 acpi_dp_add_child(dp, prop->name, prop->child); 722 break; 723 default:
** CID 1380295: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 721 in acpi_dp_add_property_list()
________________________________________________________________________________________________________ *** CID 1380295: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 721 in acpi_dp_add_property_list() 715 acpi_dp_add_reference(dp, prop->name, prop->string); 716 break; 717 case ACPI_DP_TYPE_ARRAY: 718 acpi_dp_add_array(dp, prop->array); 719 break; 720 case ACPI_DP_TYPE_CHILD:
CID 1380295: Resource leaks (RESOURCE_LEAK) Ignoring storage allocated by "acpi_dp_add_child(dp, prop->name, (*prop).child)" leaks it.
721 acpi_dp_add_child(dp, prop->name, prop->child); 722 break; 723 default: 724 continue; 725 } 726
** CID 1380294: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 709 in acpi_dp_add_property_list()
________________________________________________________________________________________________________ *** CID 1380294: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 709 in acpi_dp_add_property_list() 703 704 if (prop->type == ACPI_DP_TYPE_UNKNOWN || !prop->name) 705 continue; 706 707 switch (prop->type) { 708 case ACPI_DP_TYPE_INTEGER:
CID 1380294: Resource leaks (RESOURCE_LEAK) Ignoring storage allocated by "acpi_dp_add_integer(dp, prop->name, (*prop).integer)" leaks it.
709 acpi_dp_add_integer(dp, prop->name, prop->integer); 710 break; 711 case ACPI_DP_TYPE_STRING: 712 acpi_dp_add_string(dp, prop->name, prop->string); 713 break; 714 case ACPI_DP_TYPE_REFERENCE:
** CID 1380293: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 715 in acpi_dp_add_property_list()
________________________________________________________________________________________________________ *** CID 1380293: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 715 in acpi_dp_add_property_list() 709 acpi_dp_add_integer(dp, prop->name, prop->integer); 710 break; 711 case ACPI_DP_TYPE_STRING: 712 acpi_dp_add_string(dp, prop->name, prop->string); 713 break; 714 case ACPI_DP_TYPE_REFERENCE:
CID 1380293: Resource leaks (RESOURCE_LEAK) Ignoring storage allocated by "acpi_dp_add_reference(dp, prop->name, (*prop).string)" leaks it.
715 acpi_dp_add_reference(dp, prop->name, prop->string); 716 break; 717 case ACPI_DP_TYPE_ARRAY: 718 acpi_dp_add_array(dp, prop->array); 719 break; 720 case ACPI_DP_TYPE_CHILD:
** CID 1380292: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 712 in acpi_dp_add_property_list()
________________________________________________________________________________________________________ *** CID 1380292: Resource leaks (RESOURCE_LEAK) /src/arch/x86/acpi_device.c: 712 in acpi_dp_add_property_list() 706 707 switch (prop->type) { 708 case ACPI_DP_TYPE_INTEGER: 709 acpi_dp_add_integer(dp, prop->name, prop->integer); 710 break; 711 case ACPI_DP_TYPE_STRING:
CID 1380292: Resource leaks (RESOURCE_LEAK) Ignoring storage allocated by "acpi_dp_add_string(dp, prop->name, (*prop).string)" leaks it.
712 acpi_dp_add_string(dp, prop->name, prop->string); 713 break; 714 case ACPI_DP_TYPE_REFERENCE: 715 acpi_dp_add_reference(dp, prop->name, prop->string); 716 break; 717 case ACPI_DP_TYPE_ARRAY:
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "coreboot@coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...