Closed os-d closed 2 months ago
Attention: Patch coverage is 0%
with 11 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
release/202405@309cd8e
). Learn more about missing BASE report.
Files | Patch % | Lines |
---|---|---|
...odulePkg/Library/UefiBootManagerLib/BmLoadOption.c | 0.00% | 11 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
BmLoadOption.c: Move Locking OptionName variable after calling SetVariable.
This commit was cherry-picked from 7c17fd9b3457a546dbcb7746a4f9aeebd4f85d1f. It was partially taken in https://github.com/microsoft/mu_basecore/commit/3483ae8dfa4165467f74648a40d74b8d9d63a545, but that commit merely added the SetVariable call in the new place, did not comment out the old location. As a result, we were attempting to call SetVariable after we had done a FreePool on
Variable
, which resulted in an exception.For future integrations, this should be squashed with the above commit.
How This Was Tested
Booted SBSA to an OS.
Integration Instructions
N/A.