RTEMS | System would crash when shm_open fail (!536)
yang zhang (@yang.zhang)
gitlab at rtems.org
Thu Jun 26 01:32:11 UTC 2025
yang zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/536
Project:Branches: yang.zhang/rtems:fix_shm_open to rtems/rtos/rtems:main
Author: yang zhang
## Summary
If shm_open fail, the system would crash.
When passed a invalid param `name` into `shm_open`, `shm` would fail to be allocated,
then system would crash when free the just allocated `libio`.
<!-- 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/536
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/20250626/3d900dbc/attachment.htm>
More information about the bugs
mailing list