RTEMS | Draft: jffs2: Add checks for long file name (!193)

Loris Nardo (@loris.nardo) gitlab at rtems.org
Fri Aug 23 05:32:26 UTC 2024



Loris Nardo created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/193

Project:Branches: loris.nardo/rtems:fix-jffs2-nametoolong to rtems/rtos/rtems:main
Author:   Loris Nardo




## Summary

jffs2: Add checks for long file name

Add filename length checks to prevent the creation of files and folders
that cannot be listed, unlinked or renamed by subsequent calls.
These changes are sufficient to make the jffs2fsrenamelongname and
jffs2nandfsrenamelongname testcases pass.

Should also `pathconf` be fixed or is it fine like that?
`pathconf` yields wrong information for all the filesystems

Updates #5073

<!-- 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/193
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/20240823/47a0e075/attachment.htm>


More information about the bugs mailing list