New Defects reported by Coverity Scan for RTEMS

scan-admin at coverity.com scan-admin at coverity.com
Sun Aug 11 05:27:44 UTC 2024


Hi,

Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.

1 new defect(s) introduced to RTEMS 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 1 of 1 defect(s)


** CID 1616151:  Resource leaks  (RESOURCE_LEAK)
/cpukit/libblock/src/bdpart-register.c: 220 in rtems_bdpart_unregister()


________________________________________________________________________________________________________
*** CID 1616151:  Resource leaks  (RESOURCE_LEAK)
/cpukit/libblock/src/bdpart-register.c: 220 in rtems_bdpart_unregister()
214        */
215       free( logical_disk_name);
216       if (fd > 0) {
217         close( fd);
218       }
219     
>>>     CID 1616151:  Resource leaks  (RESOURCE_LEAK)
>>>     Handle variable "fd" going out of scope leaks the handle.
220       return esc;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3DbIMq_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrnEBgTAVhgOW1SCbA7bwuJ2l3OxkIKrCi2WuXm7y-2BiOdb2LZwidxIANfynALBVWhTtIWgCCWEhUtHtNnaiWg1bVeBv-2F3dDEaGBqWEMc-2BSQWl7C04hDiOFJGDpAuDerbmcDki50oUZBLyLpOshPcuLzRL7ATdsA4x2KlkWYpFaEPgg-3D-3D



More information about the build mailing list