New Defects reported by Coverity Scan for RTEMS-Tools

scan-admin at coverity.com scan-admin at coverity.com
Wed Apr 2 17:28:01 UTC 2025


Hi,

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

1 new defect(s) introduced to RTEMS-Tools found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1639194:  Resource leaks  (RESOURCE_LEAK)
/misc/bin2c/rtems-bin2c.c: 346 in process()


________________________________________________________________________________________________________
*** CID 1639194:  Resource leaks  (RESOURCE_LEAK)
/misc/bin2c/rtems-bin2c.c: 346 in process()
340       /*****************************************************************/
341     
342       fclose(ifile);
343       if ( createC ) { fclose(ocfile); }
344       if ( createH ) { fclose(ohfile); }
345       free(ifbasename_to_free);
>>>     CID 1639194:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "license_header" going out of scope leaks the storage it points to.
346     }
347     
348     void usage(void)
349     {
350       fprintf(
351          stderr,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/rtems-tools?tab=overview



More information about the build mailing list