]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/FileHandleWrappers.c
ShellPkg: Replace the usage of StrnCpy with CopyMem to avoid potential buffer overflo...
authorQiu Shumin <shumin.qiu@intel.com>
Wed, 10 Sep 2014 01:03:43 +0000 (01:03 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Sep 2014 01:03:43 +0000 (01:03 +0000)
commit323d3d111843cb4fbdf4f9918f72d305e63bc091
tree65fe284561ab6373083ab107196ccf14748de399
parentc9f4d4838ce92a6c2fb4faf5f46faa3b057b4dee
ShellPkg: Replace the usage of StrnCpy with CopyMem to avoid potential buffer overflow and refine the code style.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Signed-off-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16083 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/FileHandleWrappers.c