mirror of https://github.com/acidanthera/audk.git
aa0857304e
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> |
||
---|---|---|
.. | ||
MemoryOverwriteControl | ||
MemoryOverwriteRequestControlLock | ||
Opal/OpalPassword | ||
PhysicalPresencePei | ||
Tcg2Config | ||
Tcg2Dxe | ||
Tcg2Pei | ||
Tcg2Smm | ||
TcgConfigDxe | ||
TcgDxe | ||
TcgPei | ||
TcgSmm |