summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorArkadiusz Filipowski <arkadiusz.filipowski@intel.com>2025-12-15 12:45:35 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-14 08:22:38 +0300
commitb220ba807e749aa9b0c5c6b7b853fd7c9418d892 (patch)
treea9ef75e9ae791a32cc9f4dfa2243487566aa9dd0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent0ab766c6b6ef76d6f4278c6ce7c0ca7cf446a641 (diff)
downloadedk2-b220ba807e749aa9b0c5c6b7b853fd7c9418d892.tar.xz
MdeModulePkg: Fix overflow in PciAllocateBusNumber
When StartBusNumber is 0xFF NextNumber would overflow and wrap back to 0. This will be bypass check NextNumber > MaxNumberInRange as a result PCI enumeration will continue instead of breaking due to lack of resources. Signed-off-by: Arkadiusz Filipowski <arkadiusz.filipowski@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions