mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 04:15:06 +08:00
posix/aio_misc.c: Added returns on error path in rtems_aio_init()
Coverity CID 1619695 Added returns on error path in rtems_aio_init(). Without them the code could access uninitialized memory. Closes #5132.
This commit is contained in:
@@ -224,6 +224,7 @@ extern rtems_aio_queue aio_request_queue;
|
||||
* @brief Initialize the request queue for AIO Operations.
|
||||
*
|
||||
* @retval 0 The queue has bees succesfully initialized.
|
||||
* @retval -1 An error occured while initializing the queue.
|
||||
*/
|
||||
int rtems_aio_init( void );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user