// Get user input URI string\r
//\r
Uri = HiiGetString (CallbackInfo->RegisteredHandle, Value->string, NULL);\r
+ if(Uri == NULL) {\r
+ return EFI_INVALID_PARAMETER;\r
+ } \r
\r
//\r
// The URI should be either an empty string (for corporate environment) ,or http(s) for home environment.\r