Skip to content
Snippets Groups Projects
Commit c04d68c6 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

disk: part_efi: range-check partition number


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: default avatarStephen Warren <swarren@nvidia.com>
parent 10a37fd7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment