Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
// Get user input URI string\r
//\r
Uri = HiiGetString (CallbackInfo->RegisteredHandle, Value->string, NULL);\r
// Get user input URI string\r
//\r
Uri = HiiGetString (CallbackInfo->RegisteredHandle, Value->string, NULL);\r
+ ASSERT (Uri != NULL);\r
+ if (Uri == NULL) {\r
+ return EFI_UNSUPPORTED;\r
+ }\r
\r
//\r
// Convert the scheme to all lower case.\r
\r
//\r
// Convert the scheme to all lower case.\r