summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformDxe/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformDxe/Platform.c')
-rw-r--r--OvmfPkg/PlatformDxe/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c
index a6d459f3df..4d432f18df 100644
--- a/OvmfPkg/PlatformDxe/Platform.c
+++ b/OvmfPkg/PlatformDxe/Platform.c
@@ -344,7 +344,7 @@ RouteConfig (
Configuration
));
- if (Progress == NULL) {
+ if ((Progress == NULL) || (Configuration == NULL)) {
return EFI_INVALID_PARAMETER;
}