RTEMS | Draft: posix/aio_misc.c: Added returns on error path in rtems_aio_init() (!242)

Alessandro Nardin (@AlessandroNardin) gitlab at rtems.org
Thu Sep 26 10:42:38 UTC 2024



Alessandro Nardin created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/242

Project:Branches: AlessandroNardin/rtems:coverity-3 to rtems/rtos/rtems:main
Author:   Alessandro Nardin




## Summary

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.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/242
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240926/43b3922e/attachment-0001.htm>


More information about the bugs mailing list