InitrdBlob = &mKernelBlob[KernelBlobTypeInitrd];\r
CommandLineBlob = &mKernelBlob[KernelBlobTypeCommandLine];\r
\r
+ if (KernelBlob->Data == NULL) {\r
+ Status = EFI_NOT_FOUND;\r
+ goto FreeBlobs;\r
+ }\r
+\r
//\r
// Create a new handle with a single VenHw() node device path protocol on it,\r
// plus a custom SimpleFileSystem protocol on it.\r