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 1462119:  Resource leaks  (RESOURCE_LEAK)
/src/soc/intel/common/block/acpi/pep.c: 68 in read_pmc_lpm_requirements()


________________________________________________________________________________________________________
*** CID 1462119:  Resource leaks  (RESOURCE_LEAK)
/src/soc/intel/common/block/acpi/pep.c: 68 in read_pmc_lpm_requirements()
62      }
63     
64      if (info) {
65              info->addr = (uint8_t *)reg;
66              info->buffer_size = register_count * sizeof(uint32_t);
67      }
>>>     CID 1462119:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "reg" going out of scope leaks the storage it points to.
68     }
69     
70     /*
71      * For now there is only one disabled non-existent device, because 
Windows
72      * expects at least one device and crashes without it with a bluescreen
73      * (`INTERNAL_POWER_ERROR`). Returning an empty package does not work.


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3D8Uys_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2b9x2mkOQe37lQUUldj7ivE7IPFArCYPC1dvzVz-2FoIuy9cvhv7YtEFzjYBhoryTytZqwhCTyRQWvW8T9ocsuLMZJ9asSHw1D3BX4wQVwRNTg8CXfj6K-2BdqJLKZju5-2F17TjkA2YzivH4j4WC92malTHwW2rZ0-2Bo-2F-2BnIcSgyI6-2Ft2Q-3D-3D

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to