arikimari opened a new issue, #17213:
URL: https://github.com/apache/nuttx/issues/17213

   ### Description / Steps to reproduce the issue
   
   If user have fat fs e.g. on path /fs/micosd and user tries to access file 
data/test.txt on it with full
   path as /fs/microsd/data//////text.txt, Nuttx gives "Invalid argument" 
EINVAL error
   
   I think this is because how fat_parsesfname() function tries to parse path, 
it thinks characters after first '/' are part of filename. Correct parsing 
should first remove those multiple '/' characters (it should interpret them as 
single slash)
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Ubuntu
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: arm64]
   
   ### Issue Area
   
   [Area: File System]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to