edk2/MdeModulePkg/Universal/DisplayEngineDxe
aaronpop f9326a4fec 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>
2025-12-19 14:48:19 +08:00
..
DisplayEngine.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DisplayEngineDxe.inf MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DisplayEngineExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
FormDisplay.c MdeModulePkg: Fix regressions from 11686, 11687, 11688, 11689. 2025-12-06 09:54:37 +00:00
FormDisplay.h MdeModulePkg/DisplayEngineDxe:Fix typos in comments. 2025-04-10 15:40:00 +00:00
FormDisplayStr.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
InputHandler.c MdeModulePkg: Fix regressions from 11687, 11689. 2025-12-19 14:48:19 +08:00
Popup.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ProcessOptions.c MdeModulePkg: Fix conditionally uninitialized variables 2023-04-03 15:29:08 +00:00