diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-04 01:14:07 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-04 01:14:07 +0000 |
commit | 9d8fa791f518e9fd2453c78fa37bdc08ceaa3796 (patch) | |
tree | 5fca7dbfd63bb631d0d2ae7e72069a582988168b /ShellPkg | |
parent | eda08e5976e82869d01a61071cb2210aa384c7a3 (diff) | |
download | edk2-9d8fa791f518e9fd2453c78fa37bdc08ceaa3796.zip edk2-9d8fa791f518e9fd2453c78fa37bdc08ceaa3796.tar.gz edk2-9d8fa791f518e9fd2453c78fa37bdc08ceaa3796.tar.bz2 |
ShellPkg: Fix recursion when deleting all variables.
Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13484 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c index 4bcc55b..b98c048 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c @@ -145,6 +145,7 @@ ProcessVariables ( STRING_TOKEN(STR_DMPSTORE_DELETE_DONE),
gShellDebug1HiiHandle,
gRT->SetVariable(FoundVarName, &FoundVarGuid, Atts, 0, NULL));
+ FoundVarName[0] = CHAR_NULL;
}
}
|