/** @file\r
Main file for endfor and for shell level 1 functions.\r
\r
- Copyright (c) 2015, Hewlett-Packard Development Company, L.P.<BR>\r
+ (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
gEfiShellParametersProtocol->Argv[2]) == 0) {\r
for (LoopVar = 0x3 ; LoopVar < gEfiShellParametersProtocol->Argc ; LoopVar++) {\r
ASSERT((ArgSet == NULL && ArgSize == 0) || (ArgSet != NULL));\r
+ if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L")") != NULL &&\r
+ (LoopVar + 1) < gEfiShellParametersProtocol->Argc\r
+ ) {\r
+ return (SHELL_INVALID_PARAMETER);\r
+ }\r
if (ArgSet == NULL) {\r
// ArgSet = StrnCatGrow(&ArgSet, &ArgSize, L"\"", 0);\r
} else {\r