Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fsutils/mkmbr/mkmbr.c: fix null pointer access when not all device sp…
…ace 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 <[email protected]> Reviewed-by: Yuezhang Mo <[email protected]> Reviewed-by: Jacky Cao <[email protected]> Tested-by: Yinzhe Wu <[email protected]>
- Loading branch information