RTEMS | cpukit/libcsupport: fix rename to check path length (!1095)
Prashant Rahul (@prashantrahul141)
gitlab at rtems.org
Sun Mar 1 08:41:47 UTC 2026
Prashant Rahul created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1095
Project:Branches: prashantrahul141/rtems:cpukit/libcsupport/rename-too-long to rtems/rtos/rtems:main
Author: Prashant Rahul
## Summary
This patchset adds
1. `rtems_filesystem_eval_path_ctx_init` in order to reduce
repeating it in multiple places. It does very basic initialisation of
the context. For now it is used in
`rtems_filesystem_eval_path_start_with_root_and_current` and in
`_rename_r` functions.
2. `_rename_r` now correctly checks for path length before passing it to underlying filesystem.
should close #5257
## Generative AI
<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
<!-- 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/1095
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/20260301/6fb0df57/attachment.htm>
More information about the bugs
mailing list