New Defects reported by Coverity Scan for RTEMS

scan-admin at coverity.com scan-admin at coverity.com
Wed Jul 24 21:27:06 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.


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


** CID 1615135:  Control flow issues  (DEADCODE)
/cpukit/posix/src/aio_misc.c: 396 in rtems_aio_check_sigevent()


________________________________________________________________________________________________________
*** CID 1615135:  Control flow issues  (DEADCODE)
/cpukit/posix/src/aio_misc.c: 396 in rtems_aio_check_sigevent()
390       switch ( sigp->sigev_notify ) {
391         case SIGEV_NONE:
392           break;
393     
394         case SIGEV_SIGNAL:
395           if ( sigp->sigev_signo < 1 && sigp->sigev_signo > 32 ) {
>>>     CID 1615135:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "return 0;".
396             return 0;
397           }
398           break;
399     
400         case SIGEV_THREAD:
401           if ( sigp->sigev_notify_function == NULL ) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3DK3MV_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrniaXrHlFdldMi-2B3cb0HTpUwj6csTHlR802MXjbnoRmHe1A9oYMQSaHOURjrou1QZYt-2BE246NdcMVIXnG2EnPHhxF7Ve823JAyU9wi-2FTUtCqGSZV0Rr5pRspaSFU-2F9l8rTMblGGK1I-2Fc8SU2LaMtAE8vN8JU6dsmR1glI9SBotRZA-3D-3D



More information about the build mailing list