diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-12-18 07:28:26 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-18 07:28:26 +0000 |
commit | bd8504381c8acf81d4abfe252751a2d93ae97d0d (patch) | |
tree | d338e73b8ff566f945d86d80e68734b2f12cb400 /ShellPkg/Application/Shell/ShellEnvVar.c | |
parent | 1bd38073f35107cf8d6af0b294b9f2641287683d (diff) | |
download | edk2-platforms-bd8504381c8acf81d4abfe252751a2d93ae97d0d.tar.xz |
ShellPkg: Use safe string functions to refine 'Tftp.c' code.
Safe string functions can help avoid potential buffer overflow. This patch replaces the StrCpy with StCpyS.
(Sync patch r18608 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19393 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application/Shell/ShellEnvVar.c')
0 files changed, 0 insertions, 0 deletions