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.
179 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 1432727:  Resource leaks  (RESOURCE_LEAK)
/src/drivers/intel/mipi_camera/camera.c: 458 in camera_fill_nvm()


________________________________________________________________________________________________________
*** CID 1432727:  Resource leaks  (RESOURCE_LEAK)
/src/drivers/intel/mipi_camera/camera.c: 458 in camera_fill_nvm()
452     static void camera_fill_nvm(const struct device *dev)
453     {
454             struct drivers_intel_mipi_camera_config *config = 
dev->chip_info;
455             struct acpi_dp *dsd = acpi_dp_new_table("_DSD");
456     
457             if (!config->nvm_compat)
>>>     CID 1432727:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "dsd" going out of scope leaks the storage it points to.
458                     return;
459     
460             /* It might be possible to default size or width based on type. 
*/
461             if (!config->disable_nvm_defaults && !config->nvm_pagesize)
462                     config->nvm_pagesize = 1;
463     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3DsrSh_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn1Q6zzpnSv2mnLQInNz1eE3oG7eIBt-2Biv6POOVk56yp12rGozWgBHCmVVkXbgNOTtiktt3S6Z5M2ubhMRYavptukzZafxe-2FAIRJwddcbL82vbauBtksquxQRFXn8xK9tSVQ6PyTPPJ8rAPGfNzkQI2HNYQwj8XakFv-2Br4Dq9eDAO7d1AZpI4e3jsOo9jBqY1xs-3D
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to