diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-09 08:54:39 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-09 08:54:39 +0000 |
commit | 7b0ae7e82a079fde8eef0455363725755769c332 (patch) | |
tree | fa836fe74083cbe0c3de5c36da40e561fca98c20 /IntelFrameworkModulePkg/Bus/Pci | |
parent | 220c61c1ee7be1da282238fb62ad4e2d75ad887f (diff) | |
download | edk2-7b0ae7e82a079fde8eef0455363725755769c332.tar.gz edk2-7b0ae7e82a079fde8eef0455363725755769c332.tar.bz2 edk2-7b0ae7e82a079fde8eef0455363725755769c332.zip |
add security check.
update functions comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8832 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|