RTEMS | Fix panic issue which caused by pipe. (!267)

yang zhang (@yang.zhang) gitlab at rtems.org
Mon Oct 21 06:07:36 UTC 2024



yang zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/267

Project:Branches: yang.zhang/rtems:panic_in_pipe to rtems/rtos/rtems:main
Author:   yang zhang




## Summary

Fix panic issue which caused by pipe.

When dup fd, should also clone fctnl flags.
Also should check NULL param in pipe_* funcs.

I also modify the original pipe test case so that it can reproduce this issue.

<!-- 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/267
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/20241021/34b8d303/attachment.htm>


More information about the bugs mailing list