From 9d8fa791f518e9fd2453c78fa37bdc08ceaa3796 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 4 Jul 2012 01:14:07 +0000 Subject: ShellPkg: Fix recursion when deleting all variables. Signed-off-by: Dong Eric Reviewed-by: Jaben Carsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13484 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c index 4bcc55bdd3..b98c048ad9 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; } } -- cgit v1.2.3