]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c
IntelFrameworkPkg FrameworkUefiLib: Fix wrong DestMax passed to StrCpyS()
authorHao Wu <hao.a.wu@intel.com>
Wed, 5 Aug 2015 02:55:05 +0000 (02:55 +0000)
committerhwu1225 <hwu1225@Edk2>
Wed, 5 Aug 2015 02:55:05 +0000 (02:55 +0000)
commitdba275689353e49617f60ebe85618f17e1774bfb
tree9ac4edf9cefc21081a5c803e2976c387734157d4
parentcb21fcbb655fece5986bc1e2514513f1ba72d3ff
IntelFrameworkPkg FrameworkUefiLib: Fix wrong DestMax passed to StrCpyS()

The second parameter 'DestMax' of StrCpyS() should be the number of
unicode characters, not the size in bytes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18159 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c