mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdeModulePkg/HiiDatabaseDxe: Fix parser issue in GetNameElement()
This commit removes an wrong goto statement which may cause DXE_ASSERT! `ConfigRequest` example: `&NameValueVar0&NameValueVar1&NameValueVar2`. When `*Progress` is `&NameValueVar2`, code will run to `goto Done;`, then return NULL. Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
parent
f0542ae07d
commit
be6ff0f289
1 changed files with 0 additions and 2 deletions
|
|
@ -3670,8 +3670,6 @@ GetNameElement (
|
|||
HasValue = TRUE;
|
||||
} else if ((NextTag = StrStr (StringPtr, L"&")) != NULL) {
|
||||
*NextTag = L'\0';
|
||||
} else {
|
||||
goto Done;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue