nuttx/fs
hujun5 b2e6d7b9d7 fs/tmpfs: fix an integer overflow
newsize = newsize + CONFIG_FS_TMPFS_FILE_ALLOCGUARD;

When newsize is a large value,
adding a relatively small value can cause the result to become very small,
resulting in program logic errors.
For example:
0xffffffff + 0x2 = 1

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-11-21 20:02:00 -08:00
..
aio fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
binfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
cromfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
driver fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
fat fs/fat: fix ubsan warning of shift-out-of-bounds 2023-11-15 07:14:41 -08:00
hostfs cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
inode sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
littlefs cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
mmap Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
mount fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
mqueue poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
nfs mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
nxffs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
partition nxstyle: cleanup UTF-8 Unicode to ASCII 2023-09-18 11:54:17 -04:00
procfs task/pthread_cancelpt: Move cancel point handling to libc, data to TLS 2023-11-15 08:52:04 -08:00
romfs inode/i_private: remove all unnecessary cast for i_private 2023-08-29 08:58:07 +02:00
rpmsgfs Kconfigs: rename {Rpmsg|rpmsg} to RPMGS 2023-10-28 13:58:56 +08:00
semaphore fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
shm cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
smartfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
socket build: add initial cmake build system 2023-07-08 13:50:48 +08:00
spiffs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tmpfs fs/tmpfs: fix an integer overflow 2023-11-21 20:02:00 -08:00
unionfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
userfs fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
vfs poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
zipfs fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs_initialize.c add the startup process tracepoint 2023-08-19 21:50:08 +08:00
Kconfig fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
Makefile fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00