<div dir="auto">The record changes tripped a new Coverity issue. Please fix it.<div dir="auto"><br></div><div dir="auto">--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <span dir="auto"><<a href="mailto:scan-admin@coverity.com">scan-admin@coverity.com</a>></span><br>Date: Wed, Nov 13, 2024, 1:31 AM<br>Subject: New Defects reported by Coverity Scan for RTEMS<br>To: <<a href="mailto:build@rtems.org">build@rtems.org</a>><br></div><br><br>Hi,<br>
<br>
Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.<br>
<br>
1 new defect(s) introduced to RTEMS found with Coverity Scan.<br>
<br>
<br>
New defect(s) Reported-by: Coverity Scan<br>
Showing 1 of 1 defect(s)<br>
<br>
<br>
** CID 1634787: Error handling issues (NEGATIVE_RETURNS)<br>
/cpukit/libtrace/record/record-server.c: 251 in rtems_record_server()<br>
<br>
<br>
________________________________________________________________________________________________________<br>
*** CID 1634787: Error handling issues (NEGATIVE_RETURNS)<br>
/cpukit/libtrace/record/record-server.c: 251 in rtems_record_server()<br>
245 (void) close( cd );<br>
246 }<br>
247 <br>
248 error:<br>
249 <br>
250 free( items );<br>
>>> CID 1634787: Error handling issues (NEGATIVE_RETURNS)<br>
>>> "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.]<br>
251 (void) close( sd );<br>
252 (void) rtems_timer_delete( timer );<br>
253 }<br>
254 <br>
255 typedef struct {<br>
256 rtems_id task;<br>
<br>
<br>
________________________________________________________________________________________________________<br>
To view the defects in Coverity Scan visit, <a href="https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3D6eOY_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrmjWYG3EU7AwfxTJmPA-2B12imPFwE7cOc8fROM9YxlazZjaqwN0tTmax249R3ZMwKHOLfvUqzPkK-2Bj1SCPCpQpwQv6cUcavxkyqxvqdDw577BKg-2FLJ7tk-2FdBr4s0aGbmo3IpvkUW3jWNa2lPb6-2F34jIf7cf76hY2HrU-2BD01JIDpXiw-3D-3D" rel="noreferrer noreferrer" target="_blank">https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3D6eOY_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrmjWYG3EU7AwfxTJmPA-2B12imPFwE7cOc8fROM9YxlazZjaqwN0tTmax249R3ZMwKHOLfvUqzPkK-2Bj1SCPCpQpwQv6cUcavxkyqxvqdDw577BKg-2FLJ7tk-2FdBr4s0aGbmo3IpvkUW3jWNa2lPb6-2F34jIf7cf76hY2HrU-2BD01JIDpXiw-3D-3D</a><br>
<br>
_______________________________________________<br>
build mailing list<br>
<a href="mailto:build@rtems.org" target="_blank" rel="noreferrer">build@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/build" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/build</a><br>
</div>