]> git.proxmox.com Git - mirror_edk2.git/commit
Append the terminating null character at the end of the string to avoid buffer overflow.
authorQiu Shumin <shumin.qiu@intel.com>
Mon, 25 Aug 2014 08:04:52 +0000 (08:04 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Aug 2014 08:04:52 +0000 (08:04 +0000)
commita361d391601b82b4e9c1877f53c0dfe753febd43
tree9c95e7b03578f0c9da233ee530a196f68b84d8d4
parentb69fd59e6f1a884e1f3e42f4fd07e59060782cc1
Append the terminating null character at the end of the string to avoid buffer overflow.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15888 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.h
NetworkPkg/Application/IpsecConfig/Indexer.c
NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c