nuttx-apps/fsutils
Windrow14 aed7d2b8a9 fsutils/mkmbr/mkmbr.c: fix null pointer access when not all device space is defined in mbr
argv[argn] is accessed out of range when there are neither four partitions are specified nor the last partition is of auto size.
Add a number of partition variable based on input argument number.

Signed-off-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Jacky Cao <Jacky.Cao@sony.com>
Tested-by: Yinzhe Wu <Yinzhe.Wu@sony.com>
2024-10-10 16:47:04 +08:00
..
flash_eraseall cmake/apps: add more applications into cmake support 2023-07-13 19:00:18 +02:00
inifile remove fsutils/xxx/README.md. Migrated to Documentation/applications/fsutils 2023-10-30 10:00:01 +08:00
inih fix cmake code smell issues 2023-09-04 23:19:26 +08:00
ipcfg cmake:migrate apps CMakeLists for fsutils 2023-08-29 18:20:37 +08:00
libtinycbor fix cmake code smell issues 2023-09-04 23:19:26 +08:00
mkfatfs add initial cmake build system 2023-07-08 13:52:02 +08:00
mkgpt fix nxstyle 2024-04-30 00:02:31 +08:00
mkmbr fsutils/mkmbr/mkmbr.c: fix null pointer access when not all device space is defined in mbr 2024-10-10 16:47:04 +08:00
mksmartfs cmake/apps: add more applications into cmake support 2023-07-13 19:00:18 +02:00
passwd Minor code style fixes 2024-09-15 02:27:41 +08:00
.gitignore
CMakeLists.txt add initial cmake build system 2023-07-08 13:52:02 +08:00
Make.defs Makefile: Ken Pettit: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile