// EndCount = Value counter counts to before it needs to be reset\r
//\r
Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);\r
- if (EFI_ERROR (Status)) {\r
+ if (EFI_ERROR (Status) || (PerformanceProperty == NULL)) {\r
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND), gDpHiiHandle);\r
goto Done;\r
}\r