]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellLib/UefiShellLib.c
ShellPkg: Refactor string manipulation in UefiShellLib command
authorJaben Carsey <jaben.carsey@intel.com>
Tue, 19 Aug 2014 21:00:34 +0000 (21:00 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Aug 2014 21:00:34 +0000 (21:00 +0000)
commit98c16be5886b84740a0e8f68998fbeba749c5f62
treefe0d3a4953a332dd16570a14de93bbb3791c002c
parent8af89dae12d88f8897763b12636ddb373cf2ed46
ShellPkg: Refactor string manipulation in UefiShellLib command

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@15839 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLib/UefiShellLib.c