]> git.proxmox.com Git - mirror_edk2.git/commit
Use string pointer instead string buffer to avoid string copy operation.
authorFu, Siyuan <siyuan.fu@intel.com>
Fri, 15 Aug 2014 05:33:34 +0000 (05:33 +0000)
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 15 Aug 2014 05:33:34 +0000 (05:33 +0000)
commita4faf336ea8e87d0b46e54ea64ce19c8574b69e5
tree384ccfaa148969a83d92b233342d9e416861354e
parent1be2ed90a20618d71ddf34b8a07d038da0b36854
Use string pointer instead string buffer to avoid string copy operation.
Use CopyMem() to guarantee the NULL terminal will always be appended to the destination string.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Yao, Jiewen <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15810 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/Dhcp6Dxe/ComponentName.c
NetworkPkg/IScsiDxe/IScsiMisc.c
NetworkPkg/Ip6Dxe/Ip6ConfigNv.c