nuttx/fs
Mingjie Shen 7d13f5eb78 fs/fat: Fix undefined behavior in signed integer overflow check
Testing for overflow by adding a value to a variable to see if it "wraps
around" works only for unsigned integer values, because signed overflow
has undefined behavior according to the C and C++ standards.

Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2023-06-28 23:02:25 +08:00
..
aio libs/libc/aio: fix aio_read compatible bug 2023-06-28 10:28:28 -03:00
binfs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
cromfs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
driver semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
fat fs/fat: Fix undefined behavior in signed integer overflow check 2023-06-28 23:02:25 +08:00
hostfs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
inode libc/fdcheck: add fdcheck module 2023-06-10 02:19:58 +08:00
littlefs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
mmap semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
mount fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
mqueue fs/vfs: Zero file struct field with memset 2023-05-08 17:56:07 +03:00
nfs fs: Add g_ prefix for all global mountpt_operations instances 2023-04-24 16:13:29 +02:00
nxffs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
partition fs/partition: register partition device if caller doesn't provide handler 2023-05-27 20:23:17 -03:00
procfs sched: Remove the unnecessary cast from pid_t to int 2023-06-19 11:37:34 +03:00
romfs fs_romfs: avoid the romfs ERROR log when enable FDSAN 2023-06-17 19:31:17 +08:00
rpmsgfs fs/rpmsgfs: Zero dirs after realloc to avoid stale data 2023-06-28 10:29:21 -03:00
semaphore sem_unlink: return ENOENT when the named semaphore does not exist. 2023-01-09 22:46:30 +08:00
shm fs/vfs: Zero file struct field with memset 2023-05-08 17:56:07 +03:00
smartfs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
socket vfs/fs_truncate.c:Add socket judgment to return correct errno. 2023-01-17 10:29:41 +08:00
spiffs fs: Add g_ prefix for all global mountpt_operations instances 2023-04-24 16:13:29 +02:00
tmpfs fs: Add g_ prefix for all global mountpt_operations instances 2023-04-24 16:13:29 +02:00
unionfs fs: move memset to upper lever for statfs 2023-06-16 11:10:25 +08:00
userfs fs: Add g_ prefix for all global mountpt_operations instances 2023-04-24 16:13:29 +02:00
vfs sendfile: Fixed behavior of sendfile when count is set to zero. 2023-06-22 16:10:58 +08:00
fs_initialize.c fs: Flush the file system cache in BOARDIOC_POWEROFF too 2023-04-21 20:37:59 +03:00
Kconfig Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
Makefile Minor style clean up 2023-01-28 19:53:20 +02:00