diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-05 15:53:20 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-06 17:30:24 +0800 |
commit | 7162fdb037fb9385f6bd7d0dc55d54029b810de2 (patch) | |
tree | 4188a7f228483caf91b2a8cbd039936bcd7ab3f8 /BaseTools/Source/Python/AutoGen | |
parent | e0db09cd1cd35a1e2ae627e305d903652555aef2 (diff) | |
download | edk2-7162fdb037fb9385f6bd7d0dc55d54029b810de2.tar.gz edk2-7162fdb037fb9385f6bd7d0dc55d54029b810de2.tar.bz2 edk2-7162fdb037fb9385f6bd7d0dc55d54029b810de2.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
0 files changed, 0 insertions, 0 deletions