Hello,
we bought the sources of the file system and I think I found a bug in the sources (bug in all releases to 7.3.0) :
When there are no files in the SD card, the file system crashes in function "elink_rewind" of file "fs_fat_elink" because "el" local variable is initialized to 0 and used as pointer further.
Add the code below to fix the bug :
static ELINK *elink_rewind (uint32_t dir, ELINK_CACHE_CB *nc) { ELINK *el; el = nc->Used[nc->Depth].Oldest; if (el == NULL) { return NULL; } if (dir <= el->Info.DirClus) {
Microsoft releases code that contains already detected bugs ;)
Most recently the failure of the last Win10 release to properly handle full-screen use on multi-monitor systems...
I don't mean to be rude, but do you people actually test what you release? What is this?
That's a bit off. Have you never released code that have contained undetected bugs?
Thanks for reporting that. This function was introduced in FileSystem V6.9.0 and therefore this issue is not present in previous releases.
View all questions in Keil forum