zephyr/tests/subsys/fs
Andrzej Puzdrowski 6fb7ac233c fs: Fix fs_opendir resource leak when invoked on fs_dir_t object in use
Fixes problem when fs_opendir invoked on fs_dir_t object,
which is already holding information on opened directory,
overwrites references to other memory objects within
the fs_dir_t object causing resource leak.
If fs_opendir is invoked on already used fs_dir_t object,
it will return
-EBUSY.

Note: The change requires that all fs_dir_t objects should be
initialized to 0.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-02-05 07:32:20 -05:00
..
common fs: Add fs_file_t_init() function 2021-01-29 08:04:51 -05:00
fat_fs_api tests/subsys/fs/fat_fs_api: Add fs_dir_t type variable initializations 2021-02-05 07:32:20 -05:00
fat_fs_dual_drive tests/subsys/fs/fat_fs_dual_drive: Add fs_dir_t type variable init. 2021-02-05 07:32:20 -05:00
fcb
fs_api fs: Fix fs_opendir resource leak when invoked on fs_dir_t object in use 2021-02-05 07:32:20 -05:00
littlefs tests/subsys/fs/littlefs: Add fs_dir_t type variable initializations 2021-02-05 07:32:20 -05:00
multi-fs tests: fs: multifs: Add fs_dir_t type variable initializations 2021-02-05 07:32:20 -05:00
nvs