Re: [edk2-devel] [PATCH] MdeModulePkg/Variable/Pei: Update the condition in if statement

2019-10-30 Thread Wu, Hao A
> -Original Message- > From: Zhang, Shenglei > Sent: Thursday, October 17, 2019 11:20 AM > To: devel@edk2.groups.io > Cc: Wu, Hao A; Gao, Liming > Subject: [PATCH] MdeModulePkg/Variable/Pei: Update the condition in if > statement > > IndexTable->Length is used as index in array

[edk2-devel] [PATCH] MdeModulePkg/Variable/Pei: Update the condition in if statement

2019-10-16 Thread Zhang, Shenglei
IndexTable->Length is used as index in array IndexTable->Index[]. So IndexTable->Length needs to be checked, which should be less than the array size. Cc: Hao A Wu Cc: Liming Gao Signed-off-by: Shenglei Zhang --- MdeModulePkg/Universal/Variable/Pei/Variable.c | 2 +- 1 file changed, 1