You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using SPIFFS.info to retrieve configuration parameters via the fsInfo struct gives unexpected results. It seems that the maxPathLength parameter includes the trailing null character. This is not what is expected and not "self-explanatory" as the documentation suggests. It should be possible to use the normal strlen() function to check if the filename is too long. SPIFFS says maxPathLengt is 32 but any file name with strlen(filename) larger than 31 gives problems. It seems that there is no checking of long filenames so that memory is corrupted when file names longer than 31 characters are used.