RTEMS | posix/aio_misc.c: changed malloc call into calloc (!239)

Alessandro Nardin (@AlessandroNardin) gitlab at rtems.org
Tue Sep 24 16:57:37 UTC 2024



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

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




## Summary

posix/aio_misc.c: changed malloc call into calloc

Coverity CID 1512510

Changed a call to malloc() into a call to calloc()
to avoid access to uninitialized memory.

Closes #5131.


<!-- 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/239
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/20240924/65c59244/attachment.htm>


More information about the bugs mailing list