<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>New Defects Reported - RTEMS</title>
<style>
body { font-family: Arial, sans-serif; color: #222; line-height: 1.6; }
.button {
display: inline-block;
padding: 10px 20px;
margin: 20px 0;
font-size: 16px;
color: #fff !important;
background-color: #0056b3;
text-decoration: none;
border-radius: 5px;
}
pre {
background: #f8f9fa;
padding: 10px;
border-radius: 5px;
font-size: 14px;
overflow-x: auto;
}
</style>
</head>
<body>
<p>Hi,</p>
<p>
Please find the latest report on new defect(s) introduced to <strong>RTEMS</strong>
found with Coverity Scan.
</p>
<ul>
<li><strong>New Defects Found:</strong> 2</li>
<li>
3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
</li>
<li><strong>Defects Shown:</strong> Showing 2 of 2 defect(s)</li>
</ul>
<h3>Defect Details</h3>
<pre>
** 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;
</pre>
<p>
<a href="https://scan.coverity.com/projects/rtems?tab=overview" class="button">View Defects in Coverity Scan</a>
</p>
<p>Best regards,</p>
<p>The Coverity Scan Admin Team</p>
<img class="logo" width="140" src="https://scan.coverity.com/assets/BlackDuckLogo-6697adc63e07340464201a2ad534d3d3e44f95d36edda20b140440d34f05372f.svg" />
</body>
</html>