]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Fix assert caused by wrong parameter in AsciiStrCpyS()
authorZhang Lubo <lubo.zhang@intel.com>
Wed, 5 Aug 2015 03:25:20 +0000 (03:25 +0000)
committerluobozhang <luobozhang@Edk2>
Wed, 5 Aug 2015 03:25:20 +0000 (03:25 +0000)
commitb89ef37122c4e4472567be8a24a6461d0b1325a0
treebd8bf1bb1b79d350846674a3a829471be1c789fb
parenta3f28ac92c6aa90e91e44d3993378dc38c66841e
NetworkPkg: Fix assert caused by wrong parameter in AsciiStrCpyS()

The 2nd parameter in AsciiStrCpyS() should be the max available
memory of the destination.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18161 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/Mtftp6Dxe/Mtftp6Support.c