mirror of https://github.com/acidanthera/audk.git
Initialize the parameter mUnicodeCollation before use it to avoid system hang.
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12577 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8d3dd3144c
commit
20258293aa
|
@ -2409,6 +2409,11 @@ EvaluateExpression (
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EFI_IFR_MATCH_OP:
|
case EFI_IFR_MATCH_OP:
|
||||||
|
Status = InitializeUnicodeCollationProtocol ();
|
||||||
|
if (EFI_ERROR (Status)) {
|
||||||
|
goto Done;
|
||||||
|
}
|
||||||
|
|
||||||
Status = IfrMatch (FormSet, Value);
|
Status = IfrMatch (FormSet, Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue