summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authoraaronpop <aaronpop@microsoft.com>2025-12-16 22:23:41 +0300
committerRay Ni <ray.ni@intel.com>2025-12-19 09:48:19 +0300
commitf9326a4fece7b15da77b1099a0f149dbb067fa7e (patch)
treea81e548742d9b0d5de5c804a7982867485144701 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent786de8636a28affa76de24cea3ed48da0393841b (diff)
downloadedk2-f9326a4fece7b15da77b1099a0f149dbb067fa7e.tar.xz
MdeModulePkg: Fix regressions from 11687, 11689.
11687 introduced a null check and break on the orderedlist carriage return input handler. The carriage return is a special case that should result in exiting the menu, but the null check that prevented null pointer access changed the logic to continue in the input wait loop. Removed the break while still preventing null variable access and allow function to exit. 11689 introduced checks on the call to EfiBootManagerGetLoadOptions, but this encounterd a problem with the way that a default platform recovery option was created. The default platform recovery option was attempting to go through existing recovery options to get the next available recovery option number. The introduced null check short circuited these additional calls and resulted in the platform recovery option not being created. Modified the logic to no longer attempt to access recovery options when non exist, and still create the default platform recovery option. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions