summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2015-01-26 14:02:04 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2015-01-26 14:02:04 +0000
commitb81715b7758c45885234cc5e098fed1bb6601f05 (patch)
treecce463116b002c028b579d9627788a01b628400b /SecurityPkg/Tcg/TcgDxe/TcgDxe.c
parentfd3f8b3629822eb3e9ee216cad70f9d87353c4e6 (diff)
parente60fbd59cabe28d2205cbdb335e5be29d8b978e8 (diff)
Merged 2015.01 release into masterlinaro-edk2-2015.01
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'SecurityPkg/Tcg/TcgDxe/TcgDxe.c')
-rw-r--r--SecurityPkg/Tcg/TcgDxe/TcgDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
index bf9c7521aa..282505dbc7 100644
--- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
+++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
@@ -1021,7 +1021,7 @@ MeasureAllBootVariables (
&BootCount,
(VOID **) &BootOrder
);
- if (Status == EFI_NOT_FOUND) {
+ if (Status == EFI_NOT_FOUND || BootOrder == NULL) {
return EFI_SUCCESS;
}