With out the following patch the call MFS_Extend_chain returning null is not handled, and if null (due to corrupted FAT) will causes hard faults.
diff --git a/mfs/Sources/generic/mfs_dir_entry.c b/mfs/Sources/generic/mfs_dir_entry.c
index fed539f..e715003 100644
@@ -348,6 +348,8 @@
+ return NULL;
Hi Leif Zars
I do not find any difference in mfs_dir_entry.c between MQX 4.2.0 and patch MQX 18.104.22.168. Are you comparing the two versions? I compared MQX 4.1 and 4.2, they are different, but sees not your mentioned. How can I reproduce your issue in my side. Thanks