summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2024-10-03 00:02:55 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-10-09 02:13:56 +0000
commit06da7daab1eb129a1bf3eb93ed74c102d1587071 (patch)
tree03731546ddadae0597a8d3855b8df291e0395e0a /MdeModulePkg/Universal/HiiDatabaseDxe/Database.c
parent550c38a29961ab1c9cc4f9a17cdd3346566c4bef (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
FmpDevicePkg/FmpDependencyLib: Fix potential overflow in loopHEADmaster
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 'MdeModulePkg/Universal/HiiDatabaseDxe/Database.c')
0 files changed, 0 insertions, 0 deletions