diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-10-03 00:02:55 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-09 02:13:56 +0000 |
commit | 06da7daab1eb129a1bf3eb93ed74c102d1587071 (patch) | |
tree | 03731546ddadae0597a8d3855b8df291e0395e0a /BaseTools | |
parent | 550c38a29961ab1c9cc4f9a17cdd3346566c4bef (diff) | |
download | edk2-06da7daab1eb129a1bf3eb93ed74c102d1587071.tar.gz edk2-06da7daab1eb129a1bf3eb93ed74c102d1587071.tar.bz2 edk2-06da7daab1eb129a1bf3eb93ed74c102d1587071.zip |
FmpDevicePkg/FmpDependencyLib: Fix potential overflow in loop
FmpVersionsCount is a UINTN while the loop index variable compared
against it is a UINT8. This can lead to an overflow of the loop
index for FmpVersionsCount values larger than UINT8_MAX. This change
makes Index a UINTN to match in width.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions