Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command.

2015-05-08 Thread Qiu, Shumin
Yao, Jiewen > Subject: RE: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' > command. > Importance: High > > Hi Jiewen, > You are right. Patch updated. > > -Shumin > > -Original Message- > From: Yao, Jiewen [mailto:jiewen.

Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command.

2015-05-08 Thread Carsey, Jaben
, 2015 4:44 PM > To: edk2-devel@lists.sourceforge.net; Carsey, Jaben > Subject: Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' > command. > > Hello > The 2nd parameter should be: The maximum number of Destination Unicode > char, including terminatin

Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command.

2015-05-08 Thread Qiu, Shumin
Hi Jiewen, You are right. Patch updated. -Shumin -Original Message- From: Yao, Jiewen [mailto:jiewen@intel.com] Sent: Friday, May 08, 2015 4:44 PM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map'

Re: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command.

2015-05-08 Thread Yao, Jiewen
lto:shumin@intel.com] Sent: Friday, May 08, 2015 4:27 PM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: [edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command. This patch replace 'StrnCat' with 'StrnCatS' to avoid the buffer overflow in

[edk2] [PATCH] ShellPkg: Fix buffer overflow issue in 'map' command.

2015-05-08 Thread Qiu Shumin
This patch replace 'StrnCat' with 'StrnCatS' to avoid the buffer overflow in 'map.c'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin --- ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c | 24 +++ 1 file changed, 20 insertions(+), 4 deletio