audk/SecurityPkg/Tcg
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
..
MemoryOverwriteControl SecurityPkg TcgMor: Remove wrong comments 2017-12-19 09:34:47 +08:00
MemoryOverwriteRequestControlLock SecurityPkg: Remove Counter Based AuthVariable support 2017-11-01 22:24:59 +08:00
Opal/OpalPassword SecurityPkg OpalPasswordDxe:Fix wrong BufferSize input to UnicodeSPrint 2018-03-17 15:49:01 +08:00
PhysicalPresencePei SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg2Config SecurityPkg: Tcg2ConfigDxe/Tcg2Smm: Fix TPM2 HID issue 2017-01-10 15:16:46 +08:00
Tcg2Dxe SecurityPkg/Tcg2Dxe: Properly shutdown TPM before reset 2017-08-25 16:59:08 +08:00
Tcg2Pei SecurityPkg/Tcg2Pei: drop PeiReadOnlyVariable from Depex 2018-03-09 18:07:39 +01:00
Tcg2Smm SecurityPkg: Tcg2Smm: Refine type cast in pointer abstraction 2018-02-08 16:09:33 +08:00
TcgConfigDxe SecurityPkg: TcgConfigDxe: Move TPM state string update to CallBack function 2016-02-22 14:19:04 +08:00
TcgDxe SecurityPkg TcgDxe: Simplify debug msg when "TPM not working properly" 2017-06-10 13:19:59 +08:00
TcgPei SecurityPkg/TcgPei: drop PeiReadOnlyVariable from Depex 2018-03-10 16:27:57 +01:00
TcgSmm Revert old "Enable BlockSid related PP actions" patch series. 2016-11-23 16:30:03 +08:00