summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c')
-rw-r--r--IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 3452a8d5a2..074b009514 100644
--- a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -1236,7 +1236,7 @@ Returns:
Selection->ThisTag->StorageWidth
);
- if (Packet != NULL) {
+ if (Packet != NULL && Packet->String != NULL) {
//
// Upon error, we will likely receive a string to print out
//