diff options
| author | Yuan Yu <yuanyu@google.com> | 2022-08-24 05:31:23 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-09-05 16:52:51 +0300 |
| commit | 165b5bcd68e2c563f93f8f5121d20efeab939a6a (patch) | |
| tree | d172d3b915d532abb1cda0197992ab6eabdd388f /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c | |
| parent | e61f3f4ef13ab96746518ca238b42bdc9e00affe (diff) | |
| download | edk2-165b5bcd68e2c563f93f8f5121d20efeab939a6a.tar.xz | |
OvmfPkg/PlatformDxe: Check RouteConfig arguments for spec compliance
Per UEFI Spec 2.9, EFI_HII_CONFIG_ROUTING_PROTOCOL.RouteConfig()
should return EFI_INVALID_PARAMETER if caller passes in a NULL for
the Configuration parameter (see 35.4 EFI HII Configuration Routing
Protocol).
Add a check to return EFI_INVALID_PARAMETER when Configuration is NULL.
Signed-off-by: Yuan Yu <yuanyu@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c')
0 files changed, 0 insertions, 0 deletions
