RTEMS | libio needs to check the path length of any component is less than NAME_MAX (#5257)

Prashant Rahul (@prashantrahul141) gitlab at rtems.org
Wed Feb 25 06:52:09 UTC 2026




Prashant Rahul commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5257#note_143456


Oh! ya I found it in [newlib-cygwin/newlib/libc/stdio/rename.c](https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdio/rename.c;h=9abc0d39b34744d321da0c1767059eccffbe0a7b;hb=HEAD).

And about the verification part, is my deduction correct about checking it in `_rename_r` function?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5257#note_143456
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/20260225/b43f5fa3/attachment.htm>


More information about the bugs mailing list