audk/ShellPkg/Application/Shell
Heyi Guo a5e28cc1d0 ShellPkg: Fix bug introduced by r17730.
CurrentFilePattern is only part of FilePattern and will be less than or equal to FilePattern. If we use StrCpyS to replace StrnCpy, it will cause assert when FilePattern is longer.
The bug can be replayed when we cd to one directory and run ls command.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> 


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17821 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-04 02:26:54 +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 make catenae length more precise. 2015-06-30 20:15:15 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Use safe string functions to refine code. 2015-06-30 03:18:31 +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: Use safe string functions to refine code. 2015-06-30 03:18:31 +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