Repository navigation
dfs/posix: validate bounds and safely detach listener in signalfd_close - #11935
adilalperenciftci wants to merge 1 commit into
Conversation
Validate array bounds on signalfd notification registration, remove unsafe global index counter, and cleanly detach and free registered notification listeners upon signalfd_close. Fixes: RT-Thread#11933 Signed-off-by: Adil Alperen Çiftci <adilalperenciftci@users.noreply.github.com>
📌 Code Review Assignment🏷️ Tag: componentsReviewers: @Maihuanyi Changed Files (Click to expand)
🏷️ Tag: components_libcReviewers: @GorrayLi @mysterywolf Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-10-27 08:34 CST)
📝 Review Instructions
|
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
Summary
Enforce bounds checking on signalfd notification registrations and cleanly detach notification listeners during signalfd_close.
Technical Breakdown
Fixes: #11933