Fwd: New Defects reported by Coverity Scan for RTEMS
Joel Sherrill
joel.sherrill at gmail.com
Wed Nov 13 17:39:26 UTC 2024
The record changes tripped a new Coverity issue. Please fix it.
--joel
---------- Forwarded message ---------
From: <scan-admin at coverity.com>
Date: Wed, Nov 13, 2024, 1:31 AM
Subject: New Defects reported by Coverity Scan for RTEMS
To: <build at rtems.org>
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
_______________________________________________
build mailing list
build at rtems.org
http://lists.rtems.org/mailman/listinfo/build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20241113/0967f29b/attachment.htm>
More information about the devel
mailing list