Revision: 18327
http://sourceforge.net/p/edk2/code/18327
Author: shenshushi
Date: 2015-08-27 01:23:55 +0000 (Thu, 27 Aug 2015)
Log Message:
-----------
ShellPkg: Fix the ASSERT issue in drvcfg command.
Initialize the local pointer to avoid to free a dangling pointer.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c
Modified: trunk/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c
2015-08-27 01:07:31 UTC (rev 18326)
+++ trunk/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/DrvCfg.c
2015-08-27 01:23:55 UTC (rev 18327)
@@ -1171,6 +1171,7 @@
Status = EFI_SUCCESS;
Language = NULL;
UseHii = TRUE;
+ ProblemParam = NULL;
//
// initialize the shell lib (we must be in non-auto-init...)
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits