diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-04-08 15:41:06 +0800 |
---|---|---|
committer | Qiu Shumin <shumin.qiu@intel.com> | 2016-04-11 09:33:18 +0800 |
commit | 64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad (patch) | |
tree | 3612e15ab0331b98ef53c971bc7c17e5beac753c /EdkShellBinPkg | |
parent | 800c02fbe2da64ca83540151fc75a431df25aae7 (diff) | |
download | edk2-64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad.tar.gz edk2-64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad.tar.bz2 edk2-64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad.zip |
ShellPkg: Fix Shell ASSERT when mv file with cwd is NULL.
Shell will ASSERT when doing the following operation:
""
Shell> mv fs2:\file1 fs2:\file2
""
This patch add NULL pointer check to fix this issue.
Fixes: https://github.com/tianocore/edk2/issues/76
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: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'EdkShellBinPkg')
0 files changed, 0 insertions, 0 deletions