mirror of https://github.com/acidanthera/audk.git
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 <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18327 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d933e70a97
commit
57a3e4f9b5
|
@ -1171,6 +1171,7 @@ ShellCommandRunDrvCfg (
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
Language = NULL;
|
Language = NULL;
|
||||||
UseHii = TRUE;
|
UseHii = TRUE;
|
||||||
|
ProblemParam = NULL;
|
||||||
|
|
||||||
//
|
//
|
||||||
// initialize the shell lib (we must be in non-auto-init...)
|
// initialize the shell lib (we must be in non-auto-init...)
|
||||||
|
|
Loading…
Reference in New Issue