diff options
| author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-02-26 05:07:51 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-02-26 05:39:15 +0300 |
| commit | ba33c80fc594404872bc6f33e48d38836e9384a0 (patch) | |
| tree | 9680fded778a9ffd03b13343288324f17ae6cb38 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | e89d672110aaf1c5a85404375ca6767b099d3b50 (diff) | |
| download | edk2-ba33c80fc594404872bc6f33e48d38836e9384a0.tar.xz | |
DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow
When a PCI bridge is not enabled, the secondary bus may still be zero.
This causes an infinite recursive call to enumerate bus 0 which results
in a stack overflow. The easy fix is to skip the recursive bus
enumeration for bridges which do not have the secondary bus initialized.
TEST=Build and run CorebootPayloadPkg on Quark/Galileo Gen2
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
