audk/ShellPkg/Library/UefiShellLevel1CommandsLib
Ruiyu Ni 7162fdb037 ShellPkg/for: Fix potential null pointer deference
When "FOR %a %a IN A B C" is executed,
CurrentScriptFile->CurrentCommand->Data is NULL.
But the code assumes it's not NULL and tries to
deference it.

The patch fixes this issue.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-02-06 17:30:24 +08:00
..
Exit.c
For.c ShellPkg/for: Fix potential null pointer deference 2018-02-06 17:30:24 +08:00
Goto.c
If.c ShellPkg/UefiShellLevel1CommandsLib: Remove unnecessary EFIAPI 2016-10-09 10:27:48 +08:00
Shift.c
Stall.c
UefiShellLevel1CommandsLib.c ShellPkg/UefiShellLevel1CommandsLib: Remove unnecessary EFIAPI 2016-10-09 10:27:48 +08:00
UefiShellLevel1CommandsLib.h ShellPkg: Update sources to include MdePkg protocol definitions 2016-10-19 10:26:16 +08:00
UefiShellLevel1CommandsLib.inf
UefiShellLevel1CommandsLib.uni ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00