New Defects reported by Coverity Scan for RTEMS

scan-admin at coverity.com scan-admin at coverity.com
Wed Nov 13 06:31:49 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 1634787:  Error handling issues  (NEGATIVE_RETURNS)
/cpukit/libtrace/record/record-server.c: 251 in rtems_record_server()


________________________________________________________________________________________________________
*** CID 1634787:  Error handling issues  (NEGATIVE_RETURNS)
/cpukit/libtrace/record/record-server.c: 251 in rtems_record_server()
245         (void) close( cd );
246       }
247     
248     error:
249     
250       free( items );
>>>     CID 1634787:  Error handling issues  (NEGATIVE_RETURNS)
>>>     "sd" is passed to a parameter that cannot be negative. [Note: The source code implementation of the function has been overridden by a builtin model.]
251       (void) close( sd );
252       (void) rtems_timer_delete( timer );
253     }
254     
255     typedef struct {
256       rtems_id       task;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3D6eOY_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrmjWYG3EU7AwfxTJmPA-2B12imPFwE7cOc8fROM9YxlazZjaqwN0tTmax249R3ZMwKHOLfvUqzPkK-2Bj1SCPCpQpwQv6cUcavxkyqxvqdDw577BKg-2FLJ7tk-2FdBr4s0aGbmo3IpvkUW3jWNa2lPb6-2F34jIf7cf76hY2HrU-2BD01JIDpXiw-3D-3D



More information about the build mailing list