diff options
| author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-05 10:53:20 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-06 12:30:24 +0300 |
| commit | 7162fdb037fb9385f6bd7d0dc55d54029b810de2 (patch) | |
| tree | 4188a7f228483caf91b2a8cbd039936bcd7ab3f8 /BaseTools/Source/Python/AutoGen/GenVar.py | |
| parent | e0db09cd1cd35a1e2ae627e305d903652555aef2 (diff) | |
| download | edk2-7162fdb037fb9385f6bd7d0dc55d54029b810de2.tar.xz | |
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/GenVar.py')
0 files changed, 0 insertions, 0 deletions
