Enhance get_partition_info_efi() to range-check the partition number. This prevents invalid partitions being accessed, and prevents access beyond the end of the gpt_pte[] array. Signed-off-by: Stephen Warren <swarren@nvidia.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| part.c | ||
| part_amiga.c | ||
| part_amiga.h | ||
| part_dos.c | ||
| part_dos.h | ||
| part_efi.c | ||
| part_efi.h | ||
| part_iso.c | ||
| part_iso.h | ||
| part_mac.c | ||
| part_mac.h | ||