]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/Shell.c
ShellPkg: Refactor string manipulation
authorJaben Carsey <jaben.carsey@intel.com>
Tue, 2 Sep 2014 20:17:38 +0000 (20:17 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Sep 2014 20:17:38 +0000 (20:17 +0000)
commit7f79b01e8ef43901785dbccc1f4676cdf9a53d31
treee47e56d49cd81748b1e48598a6e9f5a6c357311a
parent8ac6e336ff573f6105d4f776bdf7db1d189c7093
ShellPkg: Refactor string manipulation

This patch replaces StrCpy with StrnCpy or refactors out the usage of StrCpy through some other means.
This patch replaces StrCat with StrnCat or refactors out the usage of StrCat through some other means.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16038 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/FileHandleWrappers.c
ShellPkg/Application/Shell/Shell.c
ShellPkg/Application/Shell/ShellEnvVar.c
ShellPkg/Application/Shell/ShellManParser.c
ShellPkg/Application/Shell/ShellParametersProtocol.c
ShellPkg/Application/Shell/ShellParametersProtocol.h
ShellPkg/Application/Shell/ShellProtocol.c