From 7b0ae7e82a079fde8eef0455363725755769c332 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 9 Jul 2009 08:54:39 +0000 Subject: add security check. update functions comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8832 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IntelFrameworkModulePkg/Bus') diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c index 49c7ec4ee0..2d5408abe0 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c @@ -1126,7 +1126,7 @@ UpdatePciInfo ( BarEndIndex = PCI_MAX_BAR - 1; } - if (BarIndex >= PCI_MAX_BAR) { + if (BarIndex > PCI_MAX_BAR) { Ptr++; continue; } -- cgit v1.2.3