Re: [edk2] [PATCH] MdePkg/BaseLib: Add 2 more safe string functions.

2016-06-02 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Yao, Jiewen > Sent: Thursday, June 02, 2016 10:39 PM > To: edk2-devel@lists.01.org > Cc: Gao, Liming ; Kinney, Michael D > ; Yao, Jiewen > Subject: [PATCH] MdePkg/BaseLib: Add 2 more safe string functions. > > Add UnicodeStrToAsciiStr

Re: [edk2] [PATCH] MdePkg/BaseLib: Add 2 more safe string functions.

2016-06-02 Thread Carsey, Jaben
; Subject: [edk2] [PATCH] MdePkg/BaseLib: Add 2 more safe string functions. > > Add UnicodeStrToAsciiStrS() and AsciiStrToUnicodeStrS() API. > These 2 safe version APIs are used to replace UnicodeStrToAsciiStr() and > AsciiStrToUnicodeStr() API. > > The safe version string convert AP

[edk2] [PATCH] MdePkg/BaseLib: Add 2 more safe string functions.

2016-06-02 Thread Jiewen Yao
Add UnicodeStrToAsciiStrS() and AsciiStrToUnicodeStrS() API. These 2 safe version APIs are used to replace UnicodeStrToAsciiStr() and AsciiStrToUnicodeStr() API. The safe version string convert APIs use similar check as StrCpyS(). Cc: Liming Gao Cc: Michael D Kinney Contributed-under: TianoCore