ShellInfoObject.ShellInitSettings.Delay = 0;\r
} else if (ShellInfoObject.ShellInitSettings.BitUnion.Bits.Delay) {\r
TempConst = ShellCommandLineGetValue(Package, L"-delay");\r
- if (*TempConst == L':') {\r
+ if (TempConst != NULL && *TempConst == L':') {\r
TempConst++;\r
}\r
if (TempConst != NULL && !EFI_ERROR(ShellConvertStringToUint64(TempConst, &Intermediate, FALSE, FALSE))) {\r