Re: [edk2] [patch] MdePkg: check Length para before use in DevPathToTextUsbWWID

2018-11-19 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Bi, Dandan > Sent: Monday, November 19, 2018 10:09 AM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Gao, Liming > > Subject: [patch] MdePkg: check Length para before use in DevPathToTextUsbWWID > > REF:

[edk2] [patch] MdePkg: check Length para before use in DevPathToTextUsbWWID

2018-11-18 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1336 In function DevPathToTextUsbWWID, the Length parameter is used without check. This patch is to add check before using it. Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan