RTEMS | rfs: Does not check for names too long (#5069)

Loris Nardo (@loris.nardo) gitlab at rtems.org
Thu Jul 18 08:50:56 UTC 2024



Loris Nardo created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5069



## Summary
RFS file system does not honor `NAME_MAX`, in addition it does not check whether the file name is longer than the maximum allowed for its confiuration causing the allocation of all free blocks

## Steps to reproduce

1. Configure a RFS mounted partition
2. Rename a file to a name longer than the block size, the rename operation fails with `ENOSPC`

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5069
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/20240718/bb2306af/attachment.htm>


More information about the bugs mailing list