| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
mm: Fix some typos Signed-off-by: xuxingliang <xuxingliang@xiaomi.com> | 2 个月前 | |
fs/fatfs: support output detail error log Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
fs: add fs dump in ROMFS/FATFS/LITTLEFS/YAFFS add read/write double check in ROMFS/FATFS/LITTLEFS/YAFFS file system Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com> | 2 个月前 | |
fs/fatfs: support output detail error log Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
fs/fatfs: add f_unmount in fatfs_bind error path to prevent dangling FatFs pointer When f_mount fails inside fatfs_bind, the error path jumps to errout_with_open and frees the FATFS object without clearing FatFs[vol]. This leaves a dangling pointer in the global array. If the freed memory is later reused (e.g., for a TCB), a subsequent f_mount will dereference the stale FatFs[vol], and writing cfs->fs_type = 0 corrupts the reused memory at offset 0, which overlaps with tcb->flink, destroying the g_readytorun linked list. Fix by calling f_unmount(path) before freeing the FATFS object, which sets FatFs[vol] = NULL and prevents the dangling pointer. Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |