audk/ShellPkg/Application/Shell
Qiu Shumin b0f81b62de ShellPkg: Fix the ASSERT issue in Shell 'for' loop
The Length parameter of 'GetNextParameter' is the buffer size in bytes.
While StrnCpys requires user to pass the max number of dest unicode char,
we should convert size in bytes to the number of char.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
[lersek@redhat.com: updated commit message as requested by Jaben]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18059 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-26 08:06:01 +00:00
..
ConsoleLogger.c ShellPkg: Make BOOLEAN variable not use explicit comparison. 2015-06-23 01:04:26 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
ConsoleWrappers.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg: Refine code to use Strn**S safe functions instead of Str**S ones in some cases. 2015-07-09 03:19:06 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Refine code to use Strn**S safe functions instead of Str**S ones in some cases. 2015-07-09 03:19:06 +00:00
Shell.h Shellpkg: Fix spelling errors in Shell.c/Shell.h comments 2015-02-06 22:25:05 +00:00
Shell.inf ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Shell.uni ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
ShellEnvVar.c ShellPkg: Use safe string functions to refine code. 2015-06-30 03:18:31 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c ShellPkg: Use safe string functions to refine code. 2015-06-30 03:18:31 +00:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c ShellPkg: Fix the ASSERT issue in Shell 'for' loop 2015-07-26 08:06:01 +00:00
ShellParametersProtocol.h ShellPkg: refine command line parsing 2015-01-27 18:56:36 +00:00
ShellProtocol.c ShellPkg: Fix bug introduced by r17730. 2015-07-04 02:26:54 +00:00
ShellProtocol.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00