RTEMS | fcntl(F_DUP2FD) onto a free descriptor yields a dead descriptor and leaves its iop on the free list (#5670)
Sang Woo Kim (@physwkim)
gitlab at rtems.org
Wed Jul 29 17:55:24 UTC 2026
Sang Woo Kim commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5670#note_155853
One correction to the report: `F_DUP2FD` is defined only in the private `<rtems/libio_.h>`, not in any application-visible header, so applications reach this path through `dup2()` once #5669 is fixed rather than directly. The fix for both is up as !1381.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5670#note_155853
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-f3cce21uc4rozxmkesc4r335v-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260729/00d8cb70/attachment-0001.htm>
More information about the bugs
mailing list