Attempt to perform fs_read, fs_write, fs_seek, fs_tell, fs_truncate and fs_sync on file that has been closed, prior to attempt, would cause NULL pointer dereference. With this fix, such operations would instead return -EBADF. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| fcb | ||
| nvs | ||
| CMakeLists.txt | ||
| fat_fs.c | ||
| fs_impl.c | ||
| fs_impl.h | ||
| fs.c | ||
| fuse_fs_access.c | ||
| Kconfig | ||
| Kconfig.littlefs | ||
| littlefs_fs.c | ||
| shell.c | ||