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
inifile
inih
ipcfg
libtinycbor
mkfatfs
mkgpt
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
passwd Minor code style fixes 2024-09-15 02:27:41 +08:00
.gitignore
CMakeLists.txt
Make.defs
Makefile