audk/SecurityPkg
Star Zeng aa0857304e SecurityPkg OpalPasswordDxe:Fix wrong BufferSize input to UnicodeSPrint
Current code uses string length as BufferSize input to UnicodeSPrint,
it is wrong and makes the pop up string trimmed. The BufferSize input
to UnicodeSPrint should be the size, in bytes, of the output buffer.

This is to use sizeof (mPopUpString) as the BufferSize input to
UnicodeSPrint, it also updates array size of mPopUpString from 256 to
100 that is enough, otherwise the pop up string may be too long.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2018-03-17 15:49:01 +08:00
..
Hash2DxeCrypto SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
Include SecurityPkg/include: remove TrEE. 2018-03-16 14:19:53 +08:00
Library SecurityPkg/TrEEVendorLib: remove TrEE. 2018-03-16 14:19:52 +08:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg/Pkcs7Verify: Add the comments to address security problem 2017-10-18 23:03:38 +08:00
RandomNumberGenerator/RngDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg SecurityPkg OpalPasswordDxe:Fix wrong BufferSize input to UnicodeSPrint 2018-03-17 15:49:01 +08:00
UserIdentification SecurityPkg: Fix typos in comments 2016-11-15 16:21:33 +08:00
VariableAuthenticated SecurityPkg: Convert source file to DOS format 2017-12-28 12:48:02 +08:00
SecurityPkg.dec SecurityPkg/dec: remove TrEE. 2018-03-16 14:19:54 +08:00
SecurityPkg.dsc SecurityPkg/dsc: remove TrEE. 2018-03-16 14:19:46 +08:00
SecurityPkg.uni SecurityPkg: Add UNI string for 2 PCDs 2018-02-05 09:13:59 +08:00
SecurityPkgExtra.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00