diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-09-15 08:38:16 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-09-15 08:38:16 +0000 |
commit | 7d9340a3f082d2af4e69058e3083d08084d6c330 (patch) | |
tree | f89307797aa81b5f053846aad17984179cdcca13 /SecurityPkg/Library | |
parent | d20b06a3afdf9335b6c71ff56e31003cbe1cd0c1 (diff) | |
download | edk2-platforms-7d9340a3f082d2af4e69058e3083d08084d6c330.tar.xz |
MdeModulePkg: Enhance PCI capability looking up logic to avoid hang
Certain PCI device may have capability pointing to itself.
Update LocateCapabilityRegBlock() to break when detecting such loop.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18473 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library')
0 files changed, 0 insertions, 0 deletions