New Defects reported by Coverity Scan for RTEMS
scan-admin at coverity.com
scan-admin at coverity.com
Wed Sep 25 21:30:07 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.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1619695: API usage errors (LOCK)
/cpukit/posix/src/aio_misc.c: 153 in rtems_aio_init()
________________________________________________________________________________________________________
*** CID 1619695: API usage errors (LOCK)
/cpukit/posix/src/aio_misc.c: 153 in rtems_aio_init()
147
148 aio_request_queue.active_threads = 0;
149 aio_request_queue.idle_threads = 0;
150 atomic_init( &aio_request_queue.queued_requests, 0 );
151 aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;
152
>>> CID 1619695: API usage errors (LOCK)
>>> "pthread_mutex_unlock" uses "aio_request_queue.mutex" in an uninitialized state. [Note: The source code implementation of the function has been overridden by a builtin model.]
153 pthread_mutex_unlock( &aio_request_queue.mutex );
154
155 return result;
156 }
157
158 rtems_aio_request *init_write_req( struct aiocb* aiocbp )
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3DGXqz_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrm1SMMXNwIugmSYrFvATLcj8Q6AXnZkLjwTHFC5sDc5IcPTF1U5QUgFN3iBPBoRXwxK01nShvRoamCVJuE7bpYb-2BqxMDj72ftCpJ-2Fjuz50-2FAsyQTQg02S6878kmiIapD7qoBPfUiRNYBQMmXr-2BVjCSEdNYwSQtRXTY4qVdAKCG2mQ-3D-3D
More information about the build
mailing list