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 ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
For.c ShellPkg/for: Fix potential null pointer deference 2018-02-06 17:30:24 +08:00
Goto.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
If.c ShellPkg/UefiShellLevel1CommandsLib: Remove unnecessary EFIAPI 2016-10-09 10:27:48 +08:00
Shift.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Stall.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
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 ShellPkg: use UEFI_APPLICATION module type for Shell components 2015-08-25 14:54:36 +00:00
UefiShellLevel1CommandsLib.uni ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00