Searched hist:"667 b10f6f1b668c624a8d6f82cee63e27ec50803" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_ree_fs.c | 667b10f6f1b668c624a8d6f82cee63e27ec50803 Wed Jul 24 10:29:53 UTC 2019 Fangsuo Wu <fangsuowu@asrmicro.com> tee_ree_fs: create dirfile only when it's not found
Currently there's no check of return value of tee_fs_dirfile_open, it's reasonable to do this when dir file truely doesn't exist. However, if tee_fs_dirfile_open fails with other reason, calling tee_fs_dirfile_open(true..) will overlap the old dir file, thus file access in the future will fail.
Signed-off-by: Fangsuo Wu <fangsuowu@asrmicro.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|