New Defects reported by Coverity Scan for RTEMS
scan-admin at coverity.com
scan-admin at coverity.com
Sat May 9 17:37:40 UTC 2026
Hi,
Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.
2 new defect(s) introduced to RTEMS found with Coverity Scan.
3 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 2 of 2 defect(s)
** CID 1693832: Error handling issues (CHECKED_RETURN)
/cpukit/dev/can/ctucanfd/ctucanfd.c: 1857 in rtems_can_ctucanfd_initialize()
_____________________________________________________________________________________________
*** CID 1693832: Error handling issues (CHECKED_RETURN)
/cpukit/dev/can/ctucanfd/ctucanfd.c: 1857 in rtems_can_ctucanfd_initialize()
1851 rtems_interrupt_handler_remove( chip->irq, ctucanfd_interrupt, chip );
1852 free( chip->qends_dev );
1853 free( chip );
1854 return NULL;
1855 }
1856
>>> CID 1693832: Error handling issues (CHECKED_RETURN)
>>> Calling "rtems_task_start" without checking return value (as is done elsewhere 13 out of 16 times).
1857 rtems_task_start(
1858 worker_task_id,
1859 ctucanfd_worker,
1860 (rtems_task_argument) chip
1861 );
1862
** CID 1693831: Error handling issues (CHECKED_RETURN)
/cpukit/dev/can/sja1000/sja1000.c: 1324 in rtems_can_sja1000_initialize()
_____________________________________________________________________________________________
*** CID 1693831: Error handling issues (CHECKED_RETURN)
/cpukit/dev/can/sja1000/sja1000.c: 1324 in rtems_can_sja1000_initialize()
1318 free( internal );
1319 free( chip->qends_dev );
1320 free( chip );
1321 return NULL;
1322 }
1323
>>> CID 1693831: Error handling issues (CHECKED_RETURN)
>>> Calling "rtems_task_start" without checking return value (as is done elsewhere 13 out of 16 times).
1324 rtems_task_start( worker_task_id, sja1000_worker,
1325 ( rtems_task_argument )chip );
1326
1327 rtems_can_set_bit( RTEMS_CAN_CHIP_CONFIGURED, &chip->flags );
1328 rtems_can_stats_set_state( &chip->chip_stats, CAN_STATE_STOPPED );
1329
1330 return chip;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/rtems?tab=overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/build/attachments/20260509/be0dd1e2/attachment.htm>
More information about the build
mailing list