edk2 icon indicating copy to clipboard operation
edk2 copied to clipboard

MdeModulePkg: Add Boot#### structure check

Open zodf0055980 opened this issue 1 year ago • 1 comments
trafficstars

Add Boot#### structure check to prevent Boot%04x variable error.

Description

  • [ ] Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • [x] Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • [ ] Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

OVMF build

Integration Instructions

According bugzilla issue 4792, it should check Boot%04x variable in BOpt_GetBootOptions to prevent error sturcture.

zodf0055980 avatar Aug 12 '24 03:08 zodf0055980