audk/FmpDevicePkg
Michael Kubacki 06da7daab1 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>
2024-10-09 02:13:56 +00:00
..