RTEMS | Fix order of calloc() arguments (!701)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Sep 3 21:35:15 UTC 2025
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/701
Project:Branches: joel/rtems:fix-calloc-transposed-args to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
Address calls to calloc () which swap the number of elements and
size of each element argument.
This is caught by -Wtransposed-calloc-args which is included in -Wextra.
<!-- 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/701
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/20250903/26d246d2/attachment.htm>
More information about the bugs
mailing list