diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-04-08 15:41:06 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:42:51 +0800 |
commit | 5f213e854036e475b2a38ffb9f7521ee1b2bb2a5 (patch) | |
tree | c43bd9d7710fb07201faf9aee0d36b5930413a4b /ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf | |
parent | bf13177f8813012b6bea744ccea4aa5775481d54 (diff) | |
download | edk2-platforms-5f213e854036e475b2a38ffb9f7521ee1b2bb2a5.tar.xz |
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>
(cherry picked from commit 64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad)
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf')
0 files changed, 0 insertions, 0 deletions