diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-30 21:04:57 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-30 21:04:57 +0000 |
commit | fb84495a7894307e0b7b5b803ac033efeabfb058 (patch) | |
tree | b072cca011c2fdabf3948d483f0a625614d79923 /ShellPkg/Application/Shell/ShellParametersProtocol.h | |
parent | 33c031ee2092282a069ce07d30202082ceaf61fe (diff) | |
download | edk2-platforms-fb84495a7894307e0b7b5b803ac033efeabfb058.tar.xz |
remove redirection command line updating from the shell core code.
add redirection command line updating to the redirection support function (UpdateStdInStdOutStdErr).
add more user input verification to redirection.
reduce user input verification from inside quoted parameters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11460 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application/Shell/ShellParametersProtocol.h')
-rw-r--r-- | ShellPkg/Application/Shell/ShellParametersProtocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Application/Shell/ShellParametersProtocol.h b/ShellPkg/Application/Shell/ShellParametersProtocol.h index 2d19587610..df3bfa7cbc 100644 --- a/ShellPkg/Application/Shell/ShellParametersProtocol.h +++ b/ShellPkg/Application/Shell/ShellParametersProtocol.h @@ -132,7 +132,7 @@ typedef struct { structure by parsing NewCommandLine. The current values are returned to the
user.
- If OldStdIn or OldStdOut is NULL then that value is not returned.
+ This will also update the system table.
@param[in,out] ShellParameters Pointer to parameter structure to modify.
@param[in] NewCommandLine The new command line to parse and use.
@@ -148,7 +148,7 @@ EFI_STATUS EFIAPI
UpdateStdInStdOutStdErr(
IN OUT EFI_SHELL_PARAMETERS_PROTOCOL *ShellParameters,
- IN CONST CHAR16 *NewCommandLine,
+ IN CHAR16 *NewCommandLine,
OUT SHELL_FILE_HANDLE *OldStdIn,
OUT SHELL_FILE_HANDLE *OldStdOut,
OUT SHELL_FILE_HANDLE *OldStdErr,
|