diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-21 09:50:58 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-25 14:58:51 -0700 |
commit | c04d68c69458526d30bd542ff2f8f83cc20ccfc5 (patch) | |
tree | a06620ac0682d9eaa1625d3ddf060e075a094dbd /include/lzma | |
parent | 10a37fd7a40826c43a63591855346adf1a1ac02d (diff) | |
download | u-boot-imx-c04d68c69458526d30bd542ff2f8f83cc20ccfc5.zip u-boot-imx-c04d68c69458526d30bd542ff2f8f83cc20ccfc5.tar.gz u-boot-imx-c04d68c69458526d30bd542ff2f8f83cc20ccfc5.tar.bz2 |
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: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/lzma')
0 files changed, 0 insertions, 0 deletions