nuttx/fs/tmpfs
ligd ea03d06ab3 tmpfs: fix tmpfs_read overwrite after seek over tfo_size
reproduce:
fs = open("tmpfs", xx);
lseek(fd, 256, SEEK_END);  // filep->f_pos = size + 256
read(fd, buf, len);        // overwrite

resolve:
directly return 0 when seek over tfo_size

Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-08-03 10:40:28 -07:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs_tmpfs.c tmpfs: fix tmpfs_read overwrite after seek over tfo_size 2023-08-03 10:40:28 -07:00
fs_tmpfs.h fs: Add g_ prefix for all global mountpt_operations instances 2023-04-24 16:13:29 +02:00
Kconfig
Make.defs Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00