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> |
||
---|---|---|
.. | ||
Hash2DxeCrypto | ||
Include | ||
Library | ||
Pkcs7Verify/Pkcs7VerifyDxe | ||
RandomNumberGenerator/RngDxe | ||
Tcg | ||
UserIdentification | ||
VariableAuthenticated | ||
SecurityPkg.dec | ||
SecurityPkg.dsc | ||
SecurityPkg.uni | ||
SecurityPkgExtra.uni |