Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 06da7daab1eb129a1bf3eb93ed74c102d1587071
      
https://github.com/tianocore/edk2/commit/06da7daab1eb129a1bf3eb93ed74c102d1587071
  Author: Michael Kubacki <[email protected]>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c

  Log Message:
  -----------
  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 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to