Re: [edk2] [PATCH] ShellPkg: add array index check for shell delay option

2019-02-20 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Gao, Zhichao > Sent: Monday, February 18, 2019 4:28 PM > To: edk2-devel@lists.01.org > Cc: Gao, Liming ; Ni, Ray > Subject: [PATCH] ShellPkg: add array index check for shell delay option > > BZ: https://bugzilla.tianocore.org/show_bug

Re: [edk2] [PATCH] ShellPkg: add array index check for shell delay option

2019-02-19 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Zhichao Gao > Sent: Monday, February 18, 2019 12:28 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [edk2] [PATCH] ShellPkg: add

[edk2] [PATCH] ShellPkg: add array index check for shell delay option

2019-02-18 Thread Zhichao Gao
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1528 Shell delay option without parameters do not check the index of shell parameter argv. Add index check to avoid invalid pointer references. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao C