]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c
ShellPkg: Refactor string manipulation in cp command
authorJaben Carsey <jaben.carsey@intel.com>
Thu, 7 Aug 2014 20:02:40 +0000 (20:02 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Aug 2014 20:02:40 +0000 (20:02 +0000)
commite1044f8074836b74188a2371ba70be05d0e0482b
tree5cc9e3fa8c000f753b665465a9806b6505a3f2d5
parent6e1e5405544724406f07344a5911298c3df44129
ShellPkg: Refactor string manipulation in cp 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: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15771 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c